RelationalModelBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Relational database specific extension methods for ModelBuilder.
public static class RelationalModelBuilderExtensions
type RelationalModelBuilderExtensions = class
Public Module RelationalModelBuilderExtensions
- Inheritance
-
RelationalModelBuilderExtensions
Remarks
See Modeling entity types and relationships for more information and examples.
Methods
CanSetCollation(IConventionModelBuilder, String, Boolean) |
Returns a value indicating whether the given collation can be set as default. |
CanSetDefaultSchema(IConventionModelBuilder, String, Boolean) |
Returns a value indicating whether the given schema can be set as default. |
CanSetMaxIdentifierLength(IConventionModelBuilder, Nullable<Int32>, Boolean) |
Returns a value indicating whether the maximum length allowed for store identifiers can be set. |
HasDbFunction(IConventionModelBuilder, MethodInfo, Boolean) |
Configures a relational database function. |
HasDbFunction(IConventionModelBuilder, String, Type, Boolean) |
Configures a relational database function. |
HasDbFunction(ModelBuilder, MethodInfo, Action<DbFunctionBuilder>) |
Configures a database function when targeting a relational database. |
HasDbFunction(ModelBuilder, MethodInfo) |
Configures a database function when targeting a relational database. |
HasDbFunction<TResult>(ModelBuilder, Expression<Func<TResult>>) |
Configures a database function when targeting a relational database. |
HasDefaultSchema(IConventionModelBuilder, String, Boolean) |
Configures the default schema that database objects should be created in, if no schema is explicitly configured. |
HasDefaultSchema(ModelBuilder, String) |
Configures the default schema that database objects should be created in, if no schema is explicitly configured. |
HasMaxIdentifierLength(IConventionModelBuilder, Nullable<Int32>, Boolean) |
Configures the maximum length allowed for store identifiers. |
HasSequence(IConventionModelBuilder, String, String, Boolean) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, String, Action<RelationalSequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, String, String, Action<RelationalSequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, String, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, String, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, String, String) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, Type, String, Action<RelationalSequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, Type, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, Type, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, Type, String, String, Action<RelationalSequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, Type, String, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, Type, String, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence(ModelBuilder, Type, String, String) |
Configures a database sequence when targeting a relational database. |
HasSequence<T>(ModelBuilder, String, Action<RelationalSequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence<T>(ModelBuilder, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence<T>(ModelBuilder, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence<T>(ModelBuilder, String, String, Action<RelationalSequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence<T>(ModelBuilder, String, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence<T>(ModelBuilder, String, String, Action<SequenceBuilder>) |
Configures a database sequence when targeting a relational database. |
HasSequence<T>(ModelBuilder, String, String) |
Configures a database sequence when targeting a relational database. |
UseCollation(IConventionModelBuilder, String, Boolean) |
Configures the database collation, which will be used by all columns without an explicit collation. |
UseCollation(ModelBuilder, String) |
Configures the database collation, which will be used by all columns without an explicit collation. |
Applies to
Entity Framework