SqlServerPropertyAnnotations SqlServerPropertyAnnotations Class

Definition

public class SqlServerPropertyAnnotations : RelationalPropertyAnnotations, ISqlServerPropertyAnnotations, IRelationalPropertyAnnotations
Public Class SqlServerPropertyAnnotations
    Inherits RelationalPropertyAnnotations
    Implements ISqlServerPropertyAnnotations, IRelationalPropertyAnnotations
Inheritance
System.ObjectSystem.Object
SqlServerPropertyAnnotationsSqlServerPropertyAnnotations
Implements

Constructors

SqlServerPropertyAnnotations(IProperty) SqlServerPropertyAnnotations(IProperty)

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

SqlServerPropertyAnnotations(RelationalAnnotations) SqlServerPropertyAnnotations(RelationalAnnotations)

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

Properties

Annotations Annotations

ColumnName ColumnName

ColumnType ColumnType

ComputedColumnSql ComputedColumnSql

DefaultValue DefaultValue

DefaultValueSql DefaultValueSql

HiLoSequenceName HiLoSequenceName

public virtual string HiLoSequenceName { get; set; }
Public Overridable Property HiLoSequenceName As String
Value
System.String System.String

HiLoSequenceSchema HiLoSequenceSchema

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

Property Property

ShouldThrowOnConflict ShouldThrowOnConflict

ValueGenerationStrategy ValueGenerationStrategy

public virtual SqlServerValueGenerationStrategy? ValueGenerationStrategy { get; set; }
Public Overridable Property ValueGenerationStrategy As SqlServerValueGenerationStrategy?
Value
System.Nullable<SqlServerValueGenerationStrategy> System.Nullable(Of SqlServerValueGenerationStrategy)

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
Overrides

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
Overrides

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
Overrides

CanSetValueGenerationStrategy(Nullable) CanSetValueGenerationStrategy(Nullable(Of SqlServerValueGenerationStrategy))

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

ClearAllServerGeneratedValues() ClearAllServerGeneratedValues()

protected override void ClearAllServerGeneratedValues()
Protected Overrides Sub ClearAllServerGeneratedValues
Overrides

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

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
Overrides

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
Overrides

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
Overrides

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

SetColumnName(String) SetColumnName(String)

SetColumnType(String) SetColumnType(String)

SetComputedColumnSql(String) SetComputedColumnSql(String)

SetDefaultValue(Object) SetDefaultValue(Object)

SetDefaultValueSql(String) SetDefaultValueSql(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) SetValueGenerationStrategy(Nullable(Of SqlServerValueGenerationStrategy))

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

ToString() ToString()

Inherited from System.Object

Fields

ProviderFullAnnotationNames ProviderFullAnnotationNames