RelationalModelExtensions.GetRelationalModel(IModel) Method

Definition

Returns the database model.

public static Microsoft.EntityFrameworkCore.Metadata.IRelationalModel GetRelationalModel (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetRelationalModel : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IRelationalModel
<Extension()>
Public Function GetRelationalModel (model As IModel) As IRelationalModel

Parameters

model
IModel

The model to get the database model for.

Returns

The database model.

Applies to