RelationalMetadataExtensions.Relational Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Relational(IEntityType) |
Gets the relational database specific metadata for an entity. |
Relational(IForeignKey) |
Gets the relational database specific metadata for a foreign key. |
Relational(IIndex) |
Gets the relational database specific metadata for an index. |
Relational(IKey) |
Gets the relational database specific metadata for a key. |
Relational(IModel) |
Gets the relational database specific metadata for a model. |
Relational(IMutableEntityType) |
Gets the relational database specific metadata for an entity. |
Relational(IMutableForeignKey) |
Gets the relational database specific metadata for a foreign key. |
Relational(IMutableIndex) |
Gets the relational database specific metadata for an index. |
Relational(IMutableKey) |
Gets the relational database specific metadata for a key. |
Relational(IMutableModel) |
Gets the relational database specific metadata for a model. |
Relational(IMutableProperty) |
Gets the relational database specific metadata for a property. |
Relational(IProperty) |
Gets the relational database specific metadata for a property. |
Relational(IEntityType)
Gets the relational database specific metadata for an entity.
public static Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations
<Extension()>
Public Function Relational (entityType As IEntityType) As IRelationalEntityTypeAnnotations
Parameters
- entityType
- IEntityType
The entity to get metadata for.
Returns
The relational database specific metadata for the entity.
Applies to
Relational(IForeignKey)
Gets the relational database specific metadata for a foreign key.
public static Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
<Extension()>
Public Function Relational (foreignKey As IForeignKey) As IRelationalForeignKeyAnnotations
Parameters
- foreignKey
- IForeignKey
The foreign key to get metadata for.
Returns
The relational database specific metadata for the foreign key.
Applies to
Relational(IIndex)
Gets the relational database specific metadata for an index.
public static Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations
<Extension()>
Public Function Relational (index As IIndex) As IRelationalIndexAnnotations
Parameters
- index
- IIndex
The index to get metadata for.
Returns
The relational database specific metadata for the index.
Applies to
Relational(IKey)
Gets the relational database specific metadata for a key.
public static Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
<Extension()>
Public Function Relational (key As IKey) As IRelationalKeyAnnotations
Parameters
- key
- IKey
The key to get metadata for.
Returns
The relational database specific metadata for the key.
Applies to
Relational(IModel)
Gets the relational database specific metadata for a model.
public static Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations
<Extension()>
Public Function Relational (model As IModel) As IRelationalModelAnnotations
Parameters
- model
- IModel
The model to get metadata for.
Returns
The relational database specific metadata for the model.
Applies to
Relational(IMutableEntityType)
Gets the relational database specific metadata for an entity.
public static Microsoft.EntityFrameworkCore.Metadata.RelationalEntityTypeAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.RelationalEntityTypeAnnotations
<Extension()>
Public Function Relational (entityType As IMutableEntityType) As RelationalEntityTypeAnnotations
Parameters
- entityType
- IMutableEntityType
The entity to get metadata for.
Returns
The relational database specific metadata for the entity.
Applies to
Relational(IMutableForeignKey)
Gets the relational database specific metadata for a foreign key.
public static Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
<Extension()>
Public Function Relational (foreignKey As IMutableForeignKey) As RelationalForeignKeyAnnotations
Parameters
- foreignKey
- IMutableForeignKey
The foreign key to get metadata for.
Returns
The relational database specific metadata for the foreign key.
Applies to
Relational(IMutableIndex)
Gets the relational database specific metadata for an index.
public static Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex -> Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations
<Extension()>
Public Function Relational (index As IMutableIndex) As RelationalIndexAnnotations
Parameters
- index
- IMutableIndex
The index to get metadata for.
Returns
The relational database specific metadata for the index.
Applies to
Relational(IMutableKey)
Gets the relational database specific metadata for a key.
public static Microsoft.EntityFrameworkCore.Metadata.RelationalKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalKeyAnnotations
<Extension()>
Public Function Relational (key As IMutableKey) As RelationalKeyAnnotations
Parameters
- key
- IMutableKey
The key to get metadata for.
Returns
The relational database specific metadata for the key.
Applies to
Relational(IMutableModel)
Gets the relational database specific metadata for a model.
public static Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableModel -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
<Extension()>
Public Function Relational (model As IMutableModel) As RelationalModelAnnotations
Parameters
- model
- IMutableModel
The model to get metadata for.
Returns
The relational database specific metadata for the model.
Applies to
Relational(IMutableProperty)
Gets the relational database specific metadata for a property.
public static Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations
<Extension()>
Public Function Relational (property As IMutableProperty) As RelationalPropertyAnnotations
Parameters
- property
- IMutableProperty
The property to get metadata for.
Returns
The relational database specific metadata for the property.
Applies to
Relational(IProperty)
Gets the relational database specific metadata for a property.
public static Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
<Extension()>
Public Function Relational (property As IProperty) As IRelationalPropertyAnnotations
Parameters
- property
- IProperty
The property to get metadata for.
Returns
The relational database specific metadata for the property.
Applies to
Entity Framework