Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
OnAddBirincil anahtarın parçası olan ve herhangi bir yabancı anahtarın parçası olmayan veya veritabanı varsayılan değerine sahip olacak şekilde yapılandırılmış olan özellikler için depo değeri oluşturmayı yapılandıran bir kural.
Ayrıca OnAddOrUpdate , özellikleri hesaplanan sütunlar olarak yapılandırılmış gibi yapılandırır.
public class RelationalValueGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.ValueGenerationConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAnnotationChangedConvention
public class RelationalValueGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.ValueGenerationConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAnnotationChangedConvention
type RelationalValueGenerationConvention = class
inherit ValueGenerationConvention
interface IPropertyAnnotationChangedConvention
interface IConvention
type RelationalValueGenerationConvention = class
inherit ValueGenerationConvention
interface IPropertyAnnotationChangedConvention
interface IConvention
interface IEntityTypeAnnotationChangedConvention
Public Class RelationalValueGenerationConvention
Inherits ValueGenerationConvention
Implements IPropertyAnnotationChangedConvention
Public Class RelationalValueGenerationConvention
Inherits ValueGenerationConvention
Implements IEntityTypeAnnotationChangedConvention, IPropertyAnnotationChangedConvention