Share via


RelationalModelExtensions Class

Definition

Relational-specific model extension methods.

public static class RelationalModelExtensions
type RelationalModelExtensions = class
Public Module RelationalModelExtensions
Inheritance
RelationalModelExtensions

Remarks

See Modeling entity types and relationships for more information and examples.

Methods

AddDbFunction(IConventionModel, MethodInfo, Boolean)

Creates a function mapped to the given method.

AddDbFunction(IConventionModel, String, Type, Boolean)

Creates a function.

AddDbFunction(IMutableModel, MethodInfo)

Creates an IMutableDbFunction mapped to the given method.

AddDbFunction(IMutableModel, String, Type)

Creates a function.

AddSequence(IConventionModel, String, String, Boolean)

Either returns the existing IMutableSequence with the given name in the given schema or creates a new sequence with the given name and schema.

AddSequence(IMutableModel, String, String)

Either returns the existing IMutableSequence with the given name in the given schema or creates a new sequence with the given name and schema.

FindDbFunction(IConventionModel, MethodInfo)

Finds a function that is mapped to the method represented by the given MethodInfo.

FindDbFunction(IConventionModel, String)

Finds a function that is mapped to the method represented by the given name.

FindDbFunction(IModel, MethodInfo)

Finds a function that is mapped to the method represented by the given MethodInfo.

FindDbFunction(IModel, String)

Finds a function that is mapped to the method represented by the given name.

FindDbFunction(IMutableModel, MethodInfo)

Finds a function that is mapped to the method represented by the given MethodInfo.

FindDbFunction(IMutableModel, String)

Finds a function that is mapped to the method represented by the given name.

FindDbFunction(IReadOnlyModel, MethodInfo)

Finds a function that is mapped to the method represented by the given MethodInfo.

FindDbFunction(IReadOnlyModel, String)

Finds a function that is mapped to the method represented by the given name.

FindSequence(IConventionModel, String, String)

Finds a sequence with the given name.

FindSequence(IModel, String, String)

Finds a sequence with the given name.

FindSequence(IMutableModel, String, String)

Finds a sequence with the given name.

FindSequence(IReadOnlyModel, String, String)

Finds a sequence with the given name.

GetCollation(IModel)

Returns the database collation.

GetCollation(IReadOnlyModel)

Returns the database collation.

GetCollationConfigurationSource(IConventionModel)

Returns the configuration source for the collation.

GetDbFunctions(IConventionModel)

Returns all functions contained in the model.

GetDbFunctions(IModel)

Returns all functions contained in the model.

GetDbFunctions(IMutableModel)

Returns all functions contained in the model.

GetDbFunctions(IReadOnlyModel)

Returns all functions contained in the model.

GetDefaultSchema(IModel)

Returns the default schema to use for the model, or null if none has been set.

GetDefaultSchema(IReadOnlyModel)

Returns the default schema to use for the model, or null if none has been set.

GetDefaultSchemaConfigurationSource(IConventionModel)

Returns the configuration source for the default schema.

GetMaxIdentifierLength(IModel)

Returns the maximum length allowed for store identifiers.

GetMaxIdentifierLength(IReadOnlyModel)

Returns the maximum length allowed for store identifiers.

GetMaxIdentifierLengthConfigurationSource(IConventionModel)

Returns the configuration source for GetMaxIdentifierLength(IReadOnlyModel).

GetRelationalModel(IModel)

Returns the database model.

GetSequences(IConventionModel)

Returns all sequences contained in the model.

GetSequences(IModel)

Returns all sequences contained in the model.

GetSequences(IMutableModel)

Returns all sequences contained in the model.

GetSequences(IReadOnlyModel)

Returns all sequences contained in the model.

RemoveDbFunction(IConventionModel, MethodInfo)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveDbFunction(IConventionModel, String)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveDbFunction(IMutableModel, MethodInfo)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveDbFunction(IMutableModel, String)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveSequence(IConventionModel, String, String)

Removes the IConventionSequence with the given name.

RemoveSequence(IMutableModel, String, String)

Removes the IMutableSequence with the given name.

SetCollation(IConventionModel, String, Boolean)

Sets the database collation.

SetCollation(IMutableModel, String)

Sets the database collation.

SetDefaultSchema(IConventionModel, String, Boolean)

Sets the default schema.

SetDefaultSchema(IMutableModel, String)

Sets the default schema.

SetMaxIdentifierLength(IConventionModel, Nullable<Int32>, Boolean)

Sets the maximum length allowed for store identifiers.

SetMaxIdentifierLength(IMutableModel, Nullable<Int32>)

Sets the maximum length allowed for store identifiers.

ToDebugString(IRelationalModel, MetadataDebugStringOptions, Int32)

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

Applies to