Share via


ParameterModel Class

Definition

Represents information about a parameter.

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.

public class ParameterModel : System.Data.Entity.Migrations.Model.PropertyModel
type ParameterModel = class
    inherit PropertyModel
Public Class ParameterModel
Inherits PropertyModel
Inheritance
ParameterModel

Constructors

ParameterModel(PrimitiveTypeKind, TypeUsage)

Initializes a new instance of the ParameterModel 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.

ParameterModel(PrimitiveTypeKind)

Initializes a new instance of the ParameterModel 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.

Properties

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.

(Inherited from PropertyModel)
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.

(Inherited from PropertyModel)
IsFixedLength

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

(Inherited from PropertyModel)
IsOutParameter

Gets or sets a value indicating whether this instance is out parameter.

IsUnicode

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

(Inherited from PropertyModel)
MaxLength

Gets or sets the maximum length for this property model. Only valid for array data types.

(Inherited from PropertyModel)
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.

(Inherited from PropertyModel)
Precision

Gets or sets the precision for this property model. Only valid for decimal data types.

(Inherited from PropertyModel)
Scale

Gets or sets the scale for this property model. Only valid for decimal data types.

(Inherited from PropertyModel)
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.

(Inherited from PropertyModel)
Type

Gets the data type for this property model.

(Inherited from PropertyModel)
TypeUsage

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

(Inherited from PropertyModel)

Applies to