src/EntityFramework/Migrations/Builders/ParameterBuilder.cs
/// <summary>
///     Creates a new parameter definition to pass Byte data.
/// </summary>
/// <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>
/// <returns> The newly constructed parameter definition. </returns>
Creates a new parameter definition to pass Byte data.
Creates a new parameter definition to pass Byte data .
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
        [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
        public ParameterModel Byte(
            byte? defaultValue = null,
            string defaultValueSql = null,
            string name = null,
            string storeType = null,
            bool outParameter = false)
        {
            return BuildParameter(
                PrimitiveTypeKind.Byte,
                defaultValue,
                defaultValueSql,
                name: name,
                storeType: storeType,
                outParameter: outParameter);
        }
[ SuppressMessage ( " " , " " ) ] [ SuppressMessage ( " " , " " ) ] public ParameterModel Byte ( byte ? defaultValue = null , string defaultValueSql = null , string name = null , string storeType = null , bool outParameter = false ) { return BuildParameter ( PrimitiveTypeKind . Byte , defaultValue , defaultValueSql , name : name , storeType : storeType , outParameter : outParameter ) ; }
Creates a new parameter definition to pass Byte data.
Creates a new parameter definition to pass Byte data .
The newly constructed parameter definition.
The newly constructed parameter definition .
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