SqlServerModelAnnotations SqlServerModelAnnotations Class

Syntax

Declaration

public class SqlServerModelAnnotations : RelationalModelAnnotations, ISqlServerModelAnnotations, IRelationalModelAnnotationsPublic Class SqlServerModelAnnotations
    Inherits RelationalModelAnnotations
    Implements ISqlServerModelAnnotations, IRelationalModelAnnotations

Inheritance Hierarchy

Inherited Members

ProviderFullAnnotationNames,
ProviderFullAnnotationNames,
Annotations,
Annotations,
Model,
Model,
Sequences,
Sequences,
FindSequence(String, String),
FindSequence(String, String),
GetOrAddSequence(String, String),
GetOrAddSequence(String, String),
DefaultSchema,
DefaultSchema,
SetDefaultSchema(String),
SetDefaultSchema(String),
DatabaseName,
DatabaseName,
SetDatabaseName(String),
SetDatabaseName(String),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Fields summary

Properties summary

Methods summary

Constructors

  • SqlServerModelAnnotations(IModel)
    SqlServerModelAnnotations(IModel)
    public SqlServerModelAnnotations(IModel model)Public Sub New(model As IModel)

    Parameters

  • SqlServerModelAnnotations(RelationalAnnotations)
    SqlServerModelAnnotations(RelationalAnnotations)
    protected SqlServerModelAnnotations(RelationalAnnotations annotations)Protected Sub New(annotations As RelationalAnnotations)

    Parameters

Fields

  • DefaultHiLoSequenceName
    DefaultHiLoSequenceName
    public const string DefaultHiLoSequenceName = "EntityFrameworkHiLoSequence"Public Const DefaultHiLoSequenceName As String = "EntityFrameworkHiLoSequence"

Properties

  • HiLoSequenceName
    HiLoSequenceName
    public virtual string HiLoSequenceName { get; set; }Public Overridable Property HiLoSequenceName As String

    Property Value

    • System.String
      System.String
  • HiLoSequenceSchema
    HiLoSequenceSchema
    public virtual string HiLoSequenceSchema { get; set; }Public Overridable Property HiLoSequenceSchema As String

    Property Value

    • System.String
      System.String
  • ValueGenerationStrategy
    ValueGenerationStrategy
    public virtual SqlServerValueGenerationStrategy? ValueGenerationStrategy { get; set; }Public Overridable Property ValueGenerationStrategy As SqlServerValueGenerationStrategy?

    Property Value

Methods

  • SetHiLoSequenceName(String)
    SetHiLoSequenceName(String)
    protected virtual bool SetHiLoSequenceName(string value)Protected Overridable Function SetHiLoSequenceName(value As String) As Boolean

    Parameters

    • value
      System.String
      System.String

    Returns

    • System.Boolean
      System.Boolean
  • SetHiLoSequenceSchema(String)
    SetHiLoSequenceSchema(String)
    protected virtual bool SetHiLoSequenceSchema(string value)Protected Overridable Function SetHiLoSequenceSchema(value As String) As Boolean

    Parameters

    • value
      System.String
      System.String

    Returns

    • System.Boolean
      System.Boolean
  • SetValueGenerationStrategy(Nullable<SqlServerValueGenerationStrategy>)
    SetValueGenerationStrategy(Nullable(Of SqlServerValueGenerationStrategy))
    protected virtual bool SetValueGenerationStrategy(SqlServerValueGenerationStrategy? value)Protected Overridable Function SetValueGenerationStrategy(value As SqlServerValueGenerationStrategy?) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.dll