LengthColumnConfiguration Class
Entity Framework 5.0
Used to configure a column with length facets for an entity type or complex type. This configuration functionality is exposed by the Code First Fluent API, see DbModelBuilder.
System.Object
System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration
System.Data.Entity.ModelConfiguration.Configuration.LengthColumnConfiguration
System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration
System.Data.Entity.ModelConfiguration.Configuration.PrimitiveColumnConfiguration
System.Data.Entity.ModelConfiguration.Configuration.LengthColumnConfiguration
System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration
Namespace: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
The LengthColumnConfiguration type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides PrimitiveColumnConfiguration.Equals(Object).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides PrimitiveColumnConfiguration.GetHashCode.) |
![]() | GetType | Gets the type of the current instance. This method is hidden from IntelliSense. |
![]() | HasColumnOrder | Configures the order of the primitive column used to store the property. This method is also used to specify key ordering when an entity type has a composite key. (Inherited from PrimitiveColumnConfiguration.) |
![]() | HasColumnType | Configures the data type of the primitive column used to store the property. (Inherited from PrimitiveColumnConfiguration.) |
![]() | HasMaxLength | Configures the column to have the specified maximum length. |
![]() | IsFixedLength | Configures the column to be fixed length. |
![]() | IsMaxLength | Configures the column to allow the maximum length supported by the database provider. |
![]() | IsOptional | Configures the primitive column to be optional. (Inherited from PrimitiveColumnConfiguration.) |
![]() | IsRequired | Configures the primitive column to be required. (Inherited from PrimitiveColumnConfiguration.) |
![]() | IsVariableLength | Configures the column to be variable length. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. This method is hidden from IntelliSense. (Overrides PrimitiveColumnConfiguration.ToString.) |
Show:
