src/EntityFramework/Migrations/Builders/ParameterBuilder.cs
/// <summary>
/// Creates a new parameter definition to pass Binary data.
///
/// 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.
/// </summary>
/// <param name="maxLength"> The maximum allowable length of the array data. </param>
/// <param name="fixedLength"> Value indicating whether or not all data should be padded to the maximum length. </param>
/// <param name="defaultValue"> Constant value to use as the default value for this parameter. </param>
/// <param name="defaultValueSql"> SQL expression used as the default value for this parameter. </param>
/// <param name="name"> The name of the parameter. </param>
/// <param name="storeType"> Provider specific data type to use for this parameter. </param>
/// <param name="outParameter">A value indicating whether the parameter is an output parameter.</param>
/// <returns> The newly constructed parameter definition. </returns>
Creates a new parameter definition to pass Binary data.

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.
Creates a new parameter definition to pass Binary data . 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 .
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
        [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
        public ParameterModel Binary(
            int? maxLength = null,
            bool? fixedLength = null,
            byte[] defaultValue = null,
            string defaultValueSql = null,
            string name = null,
            string storeType = null,
            bool outParameter = false)
        {
            return BuildParameter(
                PrimitiveTypeKind.Binary,
                defaultValue,
                defaultValueSql,
                maxLength,
                fixedLength: fixedLength,
                name: name,
                storeType: storeType,
                outParameter: outParameter);
        }
[ SuppressMessage ( " " , " " ) ] [ SuppressMessage ( " " , " " ) ] public ParameterModel Binary ( int ? maxLength = null , bool ? fixedLength = null , byte [ ] defaultValue = null , string defaultValueSql = null , string name = null , string storeType = null , bool outParameter = false ) { return BuildParameter ( PrimitiveTypeKind . Binary , defaultValue , defaultValueSql , maxLength , fixedLength : fixedLength , name : name , storeType : storeType , outParameter : outParameter ) ; }
Creates a new parameter definition to pass Binary data.
Creates a new parameter definition to pass Binary data .
The newly constructed parameter definition.
The newly constructed parameter definition .
maxLength
int?
The maximum allowable length of the array data.
The maximum allowable length of the array data .
fixedLength
bool?
Value indicating whether or not all data should be padded to the maximum length.
Value indicating whether or not all data should be padded to the maximum length .
defaultValue
byte[]
Constant value to use as the default value for this parameter.
Constant value to use as the default value for this parameter .
defaultValueSql
string
SQL expression used as the default value for this parameter.
SQL expression used as the default value for this parameter .
name
string
The name of the parameter.
The name of the parameter .
storeType
string
Provider specific data type to use for this parameter.
Provider specific data type to use for this parameter .
outParameter
bool
A value indicating whether the parameter is an output parameter.
A value indicating whether the parameter is an output parameter .