RelationalModelAnnotations RelationalModelAnnotations Class

Definition

public class RelationalModelAnnotations : IRelationalModelAnnotations
Public Class RelationalModelAnnotations
    Implements IRelationalModelAnnotations
Inheritance
System.ObjectSystem.Object
RelationalModelAnnotationsRelationalModelAnnotations
Implements

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

RelationalModelAnnotations(IModel, RelationalFullAnnotationNames) RelationalModelAnnotations(IModel, RelationalFullAnnotationNames)

public RelationalModelAnnotations(IModel model, RelationalFullAnnotationNames providerFullAnnotationNames)
Public Sub New(model As IModel, providerFullAnnotationNames As RelationalFullAnnotationNames)
Parameters
model
IModel IModel

RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames) RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

protected RelationalModelAnnotations(RelationalAnnotations annotations, RelationalFullAnnotationNames providerFullAnnotationNames)
Protected Sub New(annotations As RelationalAnnotations, providerFullAnnotationNames As RelationalFullAnnotationNames)
Parameters

Fields

ProviderFullAnnotationNames ProviderFullAnnotationNames

protected readonly RelationalFullAnnotationNames ProviderFullAnnotationNames
Protected ReadOnly ProviderFullAnnotationNames As RelationalFullAnnotationNames

Properties

Annotations Annotations

protected virtual RelationalAnnotations Annotations { get; }
Protected Overridable ReadOnly Property Annotations As RelationalAnnotations

DatabaseName DatabaseName

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

DefaultSchema DefaultSchema

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

Model Model

protected virtual IModel Model { get; }
Protected Overridable ReadOnly Property Model As IModel
Value
IModel IModel

Sequences Sequences

public virtual IReadOnlyList<ISequence> Sequences { get; }
Public Overridable ReadOnly Property Sequences As IReadOnlyList(Of ISequence)
Value
System.Collections.Generic.IReadOnlyList<ISequence> System.Collections.Generic.IReadOnlyList(Of ISequence)

Methods

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

public virtual ISequence FindSequence(string name, string schema = null)
Public Overridable Function FindSequence(name As String, schema As String = Nothing) As ISequence
Parameters
name
System.String System.String
schema
System.String System.String
Returns

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

public virtual Sequence GetOrAddSequence(string name, string schema = null)
Public Overridable Function GetOrAddSequence(name As String, schema As String = Nothing) As Sequence
Parameters
name
System.String System.String
schema
System.String System.String
Returns

SetDatabaseName(String) SetDatabaseName(String)

protected virtual bool SetDatabaseName(string value)
Protected Overridable Function SetDatabaseName(value As String) As Boolean
Parameters
value
System.String System.String
Returns
System.Boolean System.Boolean

SetDefaultSchema(String) SetDefaultSchema(String)

protected virtual bool SetDefaultSchema(string value)
Protected Overridable Function SetDefaultSchema(value As String) As Boolean
Parameters
value
System.String System.String
Returns
System.Boolean System.Boolean