SqlServerValueGenerationStrategyConvention SqlServerValueGenerationStrategyConvention Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class SqlServerValueGenerationStrategyConvention : DatabaseGeneratedAttributeConvention, IPropertyConvention, IPropertyFieldChangedConvention, IModelConventionPublic Class SqlServerValueGenerationStrategyConvention
    Inherits DatabaseGeneratedAttributeConvention
    Implements IPropertyConvention, IPropertyFieldChangedConvention, IModelConvention

Inheritance Hierarchy

Inherited Members

Apply(InternalPropertyBuilder),
Apply(InternalPropertyBuilder),
Apply(InternalPropertyBuilder, FieldInfo),
Apply(InternalPropertyBuilder, FieldInfo),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods

  • Apply(InternalModelBuilder)
    Apply(InternalModelBuilder)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual InternalModelBuilder Apply(InternalModelBuilder modelBuilder)Public Overridable Function Apply(modelBuilder As InternalModelBuilder) As InternalModelBuilder

    Parameters

    Returns

  • Apply(InternalPropertyBuilder, DatabaseGeneratedAttribute, MemberInfo)
    Apply(InternalPropertyBuilder, DatabaseGeneratedAttribute, MemberInfo)
    public override InternalPropertyBuilder Apply(InternalPropertyBuilder propertyBuilder, DatabaseGeneratedAttribute attribute, MemberInfo clrMember)Public Overrides Function Apply(propertyBuilder As InternalPropertyBuilder, attribute As DatabaseGeneratedAttribute, clrMember As MemberInfo) As InternalPropertyBuilder

    Parameters

    • propertyBuilder
    • attribute
      System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute
      System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute
    • clrMember
      System.Reflection.MemberInfo
      System.Reflection.MemberInfo

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.dll