src/Shared/EntityFramework/Migrations/Builders/ParameterBuilder.cs
/// <summary>
/// Creates a new parameter definition to pass geography 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="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 geography 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 geography 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 Geography(
            DbGeography defaultValue = null,
            string defaultValueSql = null,
            string name = null,
            string storeType = null,
            bool outParameter = false)
        {
            return BuildParameter(
                PrimitiveTypeKind.Geography,
                defaultValue,
                defaultValueSql,
                name: name,
                storeType: storeType,
                outParameter: outParameter);
        }
[ SuppressMessage ( " " , " " ) ] [ SuppressMessage ( " " , " " ) ] public ParameterModel Geography ( DbGeography defaultValue = null , string defaultValueSql = null , string name = null , string storeType = null , bool outParameter = false ) { return BuildParameter ( PrimitiveTypeKind . Geography , defaultValue , defaultValueSql , name : name , storeType : storeType , outParameter : outParameter ) ; }
Creates a new parameter definition to pass geography data.
Creates a new parameter definition to pass geography data .
The newly constructed parameter definition.
The newly constructed parameter definition .
defaultValue
DbGeography
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 .