RelationalMetadataExtensions RelationalMetadataExtensions Class

Definition

Relational database specific extension methods for metadata.

public static class RelationalMetadataExtensions
Public Module RelationalMetadataExtensions
Inheritance
System.ObjectSystem.Object
RelationalMetadataExtensionsRelationalMetadataExtensions

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

Methods

Relational(IEntityType) Relational(IEntityType)

Gets the relational database specific metadata for an entity.

public static IRelationalEntityTypeAnnotations Relational(this IEntityType entityType)
<ExtensionAttribute>
Public Shared Function Relational(entityType As IEntityType) As IRelationalEntityTypeAnnotations
Parameters
entityType
IEntityType IEntityType

The entity to get metadata for.

Returns

The relational database specific metadata for the entity.

Relational(IForeignKey) Relational(IForeignKey)

Gets the relational database specific metadata for a foreign key.

public static IRelationalForeignKeyAnnotations Relational(this IForeignKey foreignKey)
<ExtensionAttribute>
Public Shared Function Relational(foreignKey As IForeignKey) As IRelationalForeignKeyAnnotations
Parameters
foreignKey
IForeignKey IForeignKey

The foreign key to get metadata for.

Returns

The relational database specific metadata for the foreign key.

Relational(IIndex) Relational(IIndex)

Gets the relational database specific metadata for an index.

public static IRelationalIndexAnnotations Relational(this IIndex index)
<ExtensionAttribute>
Public Shared Function Relational(index As IIndex) As IRelationalIndexAnnotations
Parameters
index
IIndex IIndex

The index to get metadata for.

Returns

The relational database specific metadata for the index.

Relational(IKey) Relational(IKey)

Gets the relational database specific metadata for a key.

public static IRelationalKeyAnnotations Relational(this IKey key)
<ExtensionAttribute>
Public Shared Function Relational(key As IKey) As IRelationalKeyAnnotations
Parameters
key
IKey IKey

The key to get metadata for.

Returns

The relational database specific metadata for the key.

Relational(IModel) Relational(IModel)

Gets the relational database specific metadata for a model.

public static IRelationalModelAnnotations Relational(this IModel model)
<ExtensionAttribute>
Public Shared Function Relational(model As IModel) As IRelationalModelAnnotations
Parameters
model
IModel IModel

The model to get metadata for.

Returns

The relational database specific metadata for the model.

Relational(IMutableEntityType) Relational(IMutableEntityType)

Gets the relational database specific metadata for an entity.

public static RelationalEntityTypeAnnotations Relational(this IMutableEntityType entityType)
<ExtensionAttribute>
Public Shared Function Relational(entityType As IMutableEntityType) As RelationalEntityTypeAnnotations
Parameters
entityType
IMutableEntityType IMutableEntityType

The entity to get metadata for.

Returns

The relational database specific metadata for the entity.

Relational(IMutableForeignKey) Relational(IMutableForeignKey)

Gets the relational database specific metadata for a foreign key.

public static RelationalForeignKeyAnnotations Relational(this IMutableForeignKey foreignKey)
<ExtensionAttribute>
Public Shared Function Relational(foreignKey As IMutableForeignKey) As RelationalForeignKeyAnnotations
Parameters
foreignKey
IMutableForeignKey IMutableForeignKey

The foreign key to get metadata for.

Returns

The relational database specific metadata for the foreign key.

Relational(IMutableIndex) Relational(IMutableIndex)

Gets the relational database specific metadata for an index.

public static RelationalIndexAnnotations Relational(this IMutableIndex index)
<ExtensionAttribute>
Public Shared Function Relational(index As IMutableIndex) As RelationalIndexAnnotations
Parameters
index
IMutableIndex IMutableIndex

The index to get metadata for.

Returns

The relational database specific metadata for the index.

Relational(IMutableKey) Relational(IMutableKey)

Gets the relational database specific metadata for a key.

public static RelationalKeyAnnotations Relational(this IMutableKey key)
<ExtensionAttribute>
Public Shared Function Relational(key As IMutableKey) As RelationalKeyAnnotations
Parameters
key
IMutableKey IMutableKey

The key to get metadata for.

Returns

The relational database specific metadata for the key.

Relational(IMutableModel) Relational(IMutableModel)

Gets the relational database specific metadata for a model.

public static RelationalModelAnnotations Relational(this IMutableModel model)
<ExtensionAttribute>
Public Shared Function Relational(model As IMutableModel) As RelationalModelAnnotations
Parameters
model
IMutableModel IMutableModel

The model to get metadata for.

Returns

The relational database specific metadata for the model.

Relational(IMutableProperty) Relational(IMutableProperty)

Gets the relational database specific metadata for a property.

public static RelationalPropertyAnnotations Relational(this IMutableProperty property)
<ExtensionAttribute>
Public Shared Function Relational(property As IMutableProperty) As RelationalPropertyAnnotations
Parameters
property
IMutableProperty IMutableProperty

The property to get metadata for.

Returns

The relational database specific metadata for the property.

Relational(IProperty) Relational(IProperty)

Gets the relational database specific metadata for a property.

public static IRelationalPropertyAnnotations Relational(this IProperty property)
<ExtensionAttribute>
Public Shared Function Relational(property As IProperty) As IRelationalPropertyAnnotations
Parameters
property
IProperty IProperty

The property to get metadata for.

Returns

The relational database specific metadata for the property.