ColumnModel Class

 

Represents information about a column. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

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

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

public class ColumnModel : PropertyModel

NameDescription
System_CAPS_pubmethodColumnModel(PrimitiveTypeKind)

Initializes a new instance of the ColumnModel class. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

System_CAPS_pubmethodColumnModel(PrimitiveTypeKind, TypeUsage)

Initializes a new instance of the ColumnModel class. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

NameDescription
System_CAPS_pubpropertyAnnotations

Gets or sets the custom annotations that have changed on the column.

System_CAPS_pubpropertyClrDefaultValue

Gets the default value for the CLR type corresponding to the database type of this column.

System_CAPS_pubpropertyClrType

Gets the CLR type corresponding to the database type of this column.

System_CAPS_pubpropertyDefaultValue

Gets or sets a constant value to use as the default value for this property model. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.(Inherited from PropertyModel.)

System_CAPS_pubpropertyDefaultValueSql

Gets or sets a SQL expression used as the default value for this property model. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.(Inherited from PropertyModel.)

System_CAPS_pubpropertyIsFixedLength

Gets or sets a value indicating if this property model is fixed length. Only valid for array data types.(Inherited from PropertyModel.)

System_CAPS_pubpropertyIsIdentity

Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern.

System_CAPS_pubpropertyIsNullable

Gets or sets a value indicating if this column can store null values.

System_CAPS_pubpropertyIsTimestamp

Gets or sets a value indicating if this property model should be configured as a timestamp.

System_CAPS_pubpropertyIsUnicode

Gets or sets a value indicating if this property model supports Unicode characters. Only valid for textual data types.(Inherited from PropertyModel.)

System_CAPS_pubpropertyMaxLength

Gets or sets the maximum length for this property model. Only valid for array data types.(Inherited from PropertyModel.)

System_CAPS_pubpropertyName

Gets or sets the name of the property model. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.(Inherited from PropertyModel.)

System_CAPS_pubpropertyPrecision

Gets or sets the precision for this property model. Only valid for decimal data types.(Inherited from PropertyModel.)

System_CAPS_pubpropertyScale

Gets or sets the scale for this property model. Only valid for decimal data types.(Inherited from PropertyModel.)

System_CAPS_pubpropertyStoreType

Gets or sets a provider specific data type to use for this property model. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.(Inherited from PropertyModel.)

System_CAPS_pubpropertyType

Gets the data type for this property model.(Inherited from PropertyModel.)

System_CAPS_pubpropertyTypeUsage

Gets additional details about the data type of this property model. This includes details such as maximum length, nullability etc.(Inherited from PropertyModel.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsNarrowerThan(ColumnModel, DbProviderManifest)

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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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