TableModel TableModel Class

Definition

public class TableModel : Annotatable, IMutableAnnotatable, IAnnotatable
Public Class TableModel
    Inherits Annotatable
    Implements IMutableAnnotatable, IAnnotatable
Inheritance
System.ObjectSystem.Object
TableModelTableModel
Implements

Properties

Columns Columns

public virtual ICollection<ColumnModel> Columns { get; set; }
Public Overridable Property Columns As ICollection(Of ColumnModel)
Value
System.Collections.Generic.ICollection<ColumnModel> System.Collections.Generic.ICollection(Of ColumnModel)

Database Database

public virtual DatabaseModel Database { get; set; }
Public Overridable Property Database As DatabaseModel

DisplayName DisplayName

public virtual string DisplayName { get; }
Public Overridable ReadOnly Property DisplayName As String
Value
System.String System.String

ForeignKeys ForeignKeys

public virtual ICollection<ForeignKeyModel> ForeignKeys { get; }
Public Overridable ReadOnly Property ForeignKeys As ICollection(Of ForeignKeyModel)
Value
System.Collections.Generic.ICollection<ForeignKeyModel> System.Collections.Generic.ICollection(Of ForeignKeyModel)

Indexes Indexes

public virtual ICollection<IndexModel> Indexes { get; }
Public Overridable ReadOnly Property Indexes As ICollection(Of IndexModel)
Value
System.Collections.Generic.ICollection<IndexModel> System.Collections.Generic.ICollection(Of IndexModel)

Item[String] Item(String)

Gets the value annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

Name Name

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

SchemaName SchemaName

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

Methods

AddAnnotation(String, Annotation) AddAnnotation(String, Annotation)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from Annotatable)

AddAnnotation(String, Object) AddAnnotation(String, Object)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from Annotatable)

CreateAnnotation(String, Object) CreateAnnotation(String, Object)

Creates a new annotation.

(Inherited from Annotatable)

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

FindAnnotation(String) FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

GetAnnotations() GetAnnotations()

Gets all annotations on the current object.

(Inherited from Annotatable)

GetHashCode() GetHashCode()

Inherited from System.Object

GetOrAddAnnotation(String, Object) GetOrAddAnnotation(String, Object)

Adds an annotation to this object or returns the existing annotation if one with the specified name already exists.

(Inherited from Annotatable)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnAnnotationSet(String, Annotation, Annotation) OnAnnotationSet(String, Annotation, Annotation)

Runs the corresponding conventions when an annotation was set or removed.

(Inherited from Annotatable)

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

Inherited from System.Object

RemoveAnnotation(String) RemoveAnnotation(String)

Removes the given annotation from this object.

(Inherited from Annotatable)

SetAnnotation(String, Annotation) SetAnnotation(String, Annotation)

Sets the annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists.

(Inherited from Annotatable)

ToString() ToString()

Inherited from System.Object

Explicit Interface Implementations

IAnnotatable.FindAnnotation(String) Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from Annotatable)

IAnnotatable.GetAnnotations() Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations()

Gets all annotations on the current object.

(Inherited from Annotatable)