RelationalPropertiesConfigurationBuilderExtensions 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 PropertiesConfigurationBuilder.
public static class RelationalPropertiesConfigurationBuilderExtensions
type RelationalPropertiesConfigurationBuilderExtensions = class
Public Module RelationalPropertiesConfigurationBuilderExtensions
- Inheritance
-
RelationalPropertiesConfigurationBuilderExtensions
Methods
AreFixedLength(PropertiesConfigurationBuilder, Boolean) |
Configures the property as capable of storing only fixed-length data, such as strings. |
AreFixedLength<TProperty>(PropertiesConfigurationBuilder<TProperty>, Boolean) |
Configures the property as capable of storing only fixed-length data, such as strings. |
HaveColumnType(PropertiesConfigurationBuilder, String) |
Configures the data type of the column that the property maps to when targeting a relational database. This should be the complete type name, including precision, scale, length, etc. |
HaveColumnType<TProperty>(PropertiesConfigurationBuilder<TProperty>, String) |
Configures the data type of the column that the property maps to when targeting a relational database. This should be the complete type name, including precision, scale, length, etc. |
UseCollation(PropertiesConfigurationBuilder, String) |
Configures the property to use the given collation. The database column will be created with the given collation, and it will be used implicitly in all collation-sensitive operations. |
UseCollation<TProperty>(PropertiesConfigurationBuilder<TProperty>, String) |
Configures the property to use the given collation. The database column will be created with the given collation, and it will be used implicitly in all collation-sensitive operations. |
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for