ISqlServerModelAnnotations.ValueGenerationStrategy 属性

定义

SqlServerValueGenerationStrategy要用于模型中键的属性的 ,除非 属性具有显式设置的其他策略。

public Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy? ValueGenerationStrategy { get; }
member this.ValueGenerationStrategy : Nullable<Microsoft.EntityFrameworkCore.Metadata.SqlServerValueGenerationStrategy>
Public ReadOnly Property ValueGenerationStrategy As Nullable(Of SqlServerValueGenerationStrategy)

属性值

适用于