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, IReadOnlyAnnotatable
- Inheritance
-
RelationalModel
- Implements
-
IAnnotatableIReadOnlyAnnotatable
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
IsReadOnly
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 override bool IsReadOnly { 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
StoredProcedures
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?), StoreStoredProcedure> StoredProcedures { 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(IModel, IRelationalAnnotationProvider, IRelationalTypeMappingSource, bool)
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(IModel model, IRelationalAnnotationProvider relationalAnnotationProvider, IRelationalTypeMappingSource relationalTypeMappingSource, bool designTime)
Parameters
model
IModelrelationalAnnotationProvider
IRelationalAnnotationProviderrelationalTypeMappingSource
IRelationalTypeMappingSourcedesignTime
bool
Returns
- IModel
Create(IModel, IRelationalAnnotationProvider, IRelationalTypeMappingSource, bool)
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 IRelationalModel Create(IModel model, IRelationalAnnotationProvider relationalAnnotationProvider, IRelationalTypeMappingSource relationalTypeMappingSource, bool designTime)
Parameters
model
IModelrelationalAnnotationProvider
IRelationalAnnotationProviderrelationalTypeMappingSource
IRelationalTypeMappingSourcedesignTime
bool
Returns
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
FindStoredProcedure(string, string?)
public virtual IStoreStoredProcedure? FindStoredProcedure(string name, string? schema)
Parameters
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