Export (0) Print
Expand All

ColumnModel Class

Entity Framework 5.0

Represents information about a column.

System.Object
  System.Data.Entity.Migrations.Model.ColumnModel

Namespace:  System.Data.Entity.Migrations.Model
Assembly:  EntityFramework (in EntityFramework.dll)

public class ColumnModel

The ColumnModel type exposes the following members.

  NameDescription
Public methodColumnModel(PrimitiveTypeKind) Initializes a new instance of the class.
Public methodColumnModel(PrimitiveTypeKind, TypeUsage) Initializes a new instance of the class.
Top

  NameDescription
Public propertyClrDefaultValue Gets the default value for the CLR type corresponding to the database type of this column.
Public propertyClrType Gets the CLR type corresponding to the database type of this column.
Public propertyDefaultValue Gets or sets a constant value to use as the default value for this column.
Public propertyDefaultValueSql Gets or sets a SQL expression used as the default value for this column.
Public propertyIsFixedLength Gets or sets a value indicating if this column is fixed length. Only valid for array data types.
Public propertyIsIdentity Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern.
Public propertyIsNullable Gets or sets a value indicating if this column can store null values.
Public propertyIsTimestamp Gets or sets a value indicating if this column should be configured as a timestamp.
Public propertyIsUnicode Gets or sets a value indicating if this column supports Unicode characters. Only valid for textual data types.
Public propertyMaxLength Gets or sets the maximum length for this column. Only valid for array data types.
Public propertyName Gets or sets the name of the column.
Public propertyPrecision Gets or sets the precision for this column. Only valid for decimal data types.
Public propertyScale Gets or sets the scale for this column. Only valid for decimal data types.
Public propertyStoreType Gets or sets a provider specific data type to use for this column.
Public propertyType Gets the data type for this column.
Public propertyTypeUsage Gets additional details about the data type of this column. This includes details such as maximum length, nullability etc.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsNarrowerThan 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.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft