Class RelationalModel
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class RelationalModel : Annotatable, IRelationalModel, IAnnotatable
- Inheritance
-
RelationalModel
- Implements
-
IAnnotatable
Constructors
RelationalModel(IModel)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public RelationalModel(IModel model)
Parameters
model
IModel
Properties
DebugView
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual DebugView DebugView { get; }
Property Value
- DebugView
DefaultTables
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual SortedDictionary<string, TableBase> DefaultTables { get; }
Property Value
Functions
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual SortedDictionary<(string, string, IReadOnlyList<string>), StoreFunction> Functions { get; }
Property Value
Model
public virtual IModel Model { get; }
Property Value
- IModel
Queries
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual SortedDictionary<string, SqlQuery> Queries { get; }
Property Value
Tables
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual SortedDictionary<(string, string), Table> Tables { get; }
Property Value
Views
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual SortedDictionary<(string, string), View> Views { get; }
Property Value
- SortedDictionary<(string, string), View>
Methods
Add(IConventionModel, IRelationalAnnotationProvider)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static IModel Add(IConventionModel model, IRelationalAnnotationProvider relationalAnnotationProvider)
Parameters
model
IConventionModelrelationalAnnotationProvider
IRelationalAnnotationProvider
Returns
- IModel
FindFunction(string, string, IReadOnlyList<string>)
public virtual IStoreFunction FindFunction(string name, string schema, IReadOnlyList<string> parameters)
Parameters
name
stringschema
stringparameters
IReadOnlyList<string>
Returns
FindQuery(string)
public virtual ISqlQuery FindQuery(string name)
Parameters
name
string
Returns
FindTable(string, string)
public virtual ITable FindTable(string name, string schema)
Parameters
Returns
FindView(string, string)
public virtual IView FindView(string name, string schema)
Parameters
Returns
ToReferentialAction(DeleteBehavior)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static ReferentialAction ToReferentialAction(DeleteBehavior deleteBehavior)
Parameters
deleteBehavior
DeleteBehavior