SqlServerModelAnnotations SqlServerModelAnnotations Class

Definition

public class SqlServerModelAnnotations : RelationalModelAnnotations, ISqlServerModelAnnotations, IRelationalModelAnnotations
Public Class SqlServerModelAnnotations
    Inherits RelationalModelAnnotations
    Implements ISqlServerModelAnnotations, IRelationalModelAnnotations
Inheritance
System.ObjectSystem.Object
SqlServerModelAnnotationsSqlServerModelAnnotations
Implements

Constructors

SqlServerModelAnnotations(IModel) SqlServerModelAnnotations(IModel)

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

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"

ProviderFullAnnotationNames ProviderFullAnnotationNames

Properties

Annotations Annotations

DatabaseName DatabaseName

DefaultSchema DefaultSchema

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

Model Model

Sequences Sequences

ValueGenerationStrategy ValueGenerationStrategy

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

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

FindSequence(String, String) FindSequence(String, String)

GetHashCode() GetHashCode()

Inherited from System.Object

GetOrAddSequence(String, String) GetOrAddSequence(String, String)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

SetDatabaseName(String) SetDatabaseName(String)

SetDefaultSchema(String) SetDefaultSchema(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