StringColumnConfiguration Class
Entity Framework 5.0
Configures a database column used to store string values. This configuration functionality is exposed by the Code First Fluent API. For more information, 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 StringColumnConfiguration 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 LengthColumnConfiguration.Equals(Object).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides LengthColumnConfiguration.GetHashCode.) |
![]() | GetType | Gets the type of the current instance. This method is hidden from IntelliSense. |
![]() | HasColumnOrder | Configures the order of the database column. |
![]() | HasColumnType | Configures the data type of the database column. |
![]() | HasMaxLength | Configures the property to have the specified maximum length. |
![]() | IsFixedLength | Configures the column to be fixed length. Use HasMaxLength to set the length that the property is fixed to. |
![]() | IsMaxLength | Configures the column to allow the maximum length supported by the database provider. |
![]() | IsOptional | Configures the column to be optional. |
![]() | IsRequired | Configures the column to be required. |
![]() | IsUnicode | Configures the column to support Unicode string content. |
![]() | IsUnicode(Nullable(Of Boolean)) | Configures whether or not the column supports Unicode string content. |
![]() | IsVariableLength | Configures the column to be variable length. Columns are variable length by default. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. This method is hidden from IntelliSense. (Overrides LengthColumnConfiguration.ToString.) |
Show:
