ColumnModel Class
Entity Framework 5.0
Represents information about a column.
Namespace: System.Data.Entity.Migrations.Model
Assembly: EntityFramework (in EntityFramework.dll)
The ColumnModel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ColumnModel(PrimitiveTypeKind) | Initializes a new instance of the class. |
![]() | ColumnModel(PrimitiveTypeKind, TypeUsage) | Initializes a new instance of the class. |
| Name | Description | |
|---|---|---|
![]() | ClrDefaultValue | Gets the default value for the CLR type corresponding to the database type of this column. |
![]() | ClrType | Gets the CLR type corresponding to the database type of this column. |
![]() | DefaultValue | Gets or sets a constant value to use as the default value for this column. |
![]() | DefaultValueSql | Gets or sets a SQL expression used as the default value for this column. |
![]() | IsFixedLength | Gets or sets a value indicating if this column is fixed length. Only valid for array data types. |
![]() | IsIdentity | Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern. |
![]() | IsNullable | Gets or sets a value indicating if this column can store null values. |
![]() | IsTimestamp | Gets or sets a value indicating if this column should be configured as a timestamp. |
![]() | IsUnicode | Gets or sets a value indicating if this column supports Unicode characters. Only valid for textual data types. |
![]() | MaxLength | Gets or sets the maximum length for this column. Only valid for array data types. |
![]() | Name | Gets or sets the name of the column. |
![]() | Precision | Gets or sets the precision for this column. Only valid for decimal data types. |
![]() | Scale | Gets or sets the scale for this column. Only valid for decimal data types. |
![]() | StoreType | Gets or sets a provider specific data type to use for this column. |
![]() | Type | Gets the data type for this column. |
![]() | TypeUsage | Gets additional details about the data type of this column. This includes details such as maximum length, nullability etc. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsNarrowerThan | Determines if this column is a narrower data type than another column. Used to determine if altering the supplied column definition to this definition will result in data loss. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
