ParameterBuilder.Binary Method (Nullable<Int32>, Nullable<Boolean>, Byte[], String, String, String, Boolean)
Creates a new parameter definition to pass Binary data.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")] [SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public ParameterModel Binary( Nullable<int> maxLength = null, Nullable<bool> fixedLength = null, byte[] defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, bool outParameter = false )
Parameters
- maxLength
-
Type:
System.Nullable<Int32>
The maximum allowable length of the array data.
- fixedLength
-
Type:
System.Nullable<Boolean>
Value indicating whether or not all data should be padded to the maximum length.
- defaultValue
-
Type:
System.Byte[]
Constant value to use as the default value for this parameter.
- defaultValueSql
-
Type:
System.String
SQL expression used as the default value for this parameter.
- name
-
Type:
System.String
The name of the parameter.
- storeType
-
Type:
System.String
Provider specific data type to use for this parameter.
- outParameter
-
Type:
System.Boolean
A value indicating whether the parameter is an output parameter.
Return Value
Type: System.Data.Entity.Migrations.Model.ParameterModelThe newly constructed parameter definition.