PropertyModel Class
Represents information about a property of an entity. 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.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Migrations.Model.PropertyModel
System.Data.Entity.Migrations.Model.ColumnModel
System.Data.Entity.Migrations.Model.ParameterModel
Name | Description | |
---|---|---|
![]() | PropertyModel(PrimitiveTypeKind, TypeUsage) | Initializes a new instance of the PropertyModel 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. |
Name | Description | |
---|---|---|
![]() | DefaultValue | 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. |
![]() | DefaultValueSql | 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. |
![]() | IsFixedLength | Gets or sets a value indicating if this property model is fixed length. Only valid for array data types. |
![]() | IsUnicode | Gets or sets a value indicating if this property model supports Unicode characters. Only valid for textual data types. |
![]() | MaxLength | Gets or sets the maximum length for this property model. Only valid for array data types. |
![]() | Name | 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. |
![]() | Precision | Gets or sets the precision for this property model. Only valid for decimal data types. |
![]() | Scale | Gets or sets the scale for this property model. Only valid for decimal data types. |
![]() | StoreType | 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. |
![]() | Type | Gets the data type for this property model. |
![]() | TypeUsage | Gets additional details about the data type of this property model. This includes details such as maximum length, nullability etc. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (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.