SqlServerPropertyAnnotations SqlServerPropertyAnnotations Class

Syntax

Declaration

public class SqlServerPropertyAnnotations : RelationalPropertyAnnotations, ISqlServerPropertyAnnotations, IRelationalPropertyAnnotationsPublic Class SqlServerPropertyAnnotations
    Inherits RelationalPropertyAnnotations
    Implements ISqlServerPropertyAnnotations, IRelationalPropertyAnnotations

Inheritance Hierarchy

Inherited Members

ProviderFullAnnotationNames,
ProviderFullAnnotationNames,
Annotations,
Annotations,
Property,
Property,
ShouldThrowOnConflict,
ShouldThrowOnConflict,
ColumnName,
ColumnName,
SetColumnName(String),
SetColumnName(String),
ColumnType,
ColumnType,
SetColumnType(String),
SetColumnType(String),
DefaultValueSql,
DefaultValueSql,
SetDefaultValueSql(String),
SetDefaultValueSql(String),
ComputedColumnSql,
ComputedColumnSql,
SetComputedColumnSql(String),
SetComputedColumnSql(String),
DefaultValue,
DefaultValue,
SetDefaultValue(Object),
SetDefaultValue(Object),
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

Properties summary

Methods summary

Constructors

  • SqlServerPropertyAnnotations(IProperty)
    SqlServerPropertyAnnotations(IProperty)
    public SqlServerPropertyAnnotations(IProperty property)Public Sub New(property As IProperty)

    Parameters

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

    Parameters

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

  • CanSetComputedColumnSql(String)
    CanSetComputedColumnSql(String)
    protected override bool CanSetComputedColumnSql(string value)Protected Overrides Function CanSetComputedColumnSql(value As String) As Boolean

    Parameters

    • value
      System.String
      System.String

    Returns

    • System.Boolean
      System.Boolean
  • CanSetDefaultValue(Object)
    CanSetDefaultValue(Object)
    protected override bool CanSetDefaultValue(object value)Protected Overrides Function CanSetDefaultValue(value As Object) As Boolean

    Parameters

    • value
      System.Object
      System.Object

    Returns

    • System.Boolean
      System.Boolean
  • CanSetDefaultValueSql(String)
    CanSetDefaultValueSql(String)
    protected override bool CanSetDefaultValueSql(string value)Protected Overrides Function CanSetDefaultValueSql(value As String) As Boolean

    Parameters

    • value
      System.String
      System.String

    Returns

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

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • ClearAllServerGeneratedValues()
    ClearAllServerGeneratedValues()
    protected override void ClearAllServerGeneratedValues()Protected Overrides Sub ClearAllServerGeneratedValues
  • FindHiLoSequence()
    FindHiLoSequence()
    public virtual ISequence FindHiLoSequence()Public Overridable Function FindHiLoSequence As ISequence

    Returns

  • GetComputedColumnSql(Boolean)
    GetComputedColumnSql(Boolean)
    protected override string GetComputedColumnSql(bool fallback)Protected Overrides Function GetComputedColumnSql(fallback As Boolean) As String

    Parameters

    • fallback
      System.Boolean
      System.Boolean

    Returns

    • System.String
      System.String
  • GetDefaultValue(Boolean)
    GetDefaultValue(Boolean)
    protected override object GetDefaultValue(bool fallback)Protected Overrides Function GetDefaultValue(fallback As Boolean) As Object

    Parameters

    • fallback
      System.Boolean
      System.Boolean

    Returns

    • System.Object
      System.Object
  • GetDefaultValueSql(Boolean)
    GetDefaultValueSql(Boolean)
    protected override string GetDefaultValueSql(bool fallback)Protected Overrides Function GetDefaultValueSql(fallback As Boolean) As String

    Parameters

    • fallback
      System.Boolean
      System.Boolean

    Returns

    • System.String
      System.String
  • 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