Table of Contents

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

SortedDictionary<string, TableBase>

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

SortedDictionary<(string, string, IReadOnlyList<string>), StoreFunction>

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

SortedDictionary<string, SqlQuery>

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

SortedDictionary<(string, string), Table>

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 IConventionModel
relationalAnnotationProvider IRelationalAnnotationProvider

Returns

IModel

FindFunction(string, string, IReadOnlyList<string>)

public virtual IStoreFunction FindFunction(string name, string schema, IReadOnlyList<string> parameters)

Parameters

name string
schema string
parameters IReadOnlyList<string>

Returns

IStoreFunction

FindQuery(string)

public virtual ISqlQuery FindQuery(string name)

Parameters

name string

Returns

ISqlQuery

FindTable(string, string)

public virtual ITable FindTable(string name, string schema)

Parameters

name string
schema string

Returns

ITable

FindView(string, string)

public virtual IView FindView(string name, string schema)

Parameters

name string
schema string

Returns

IView

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

Returns

ReferentialAction