ParameterBuilder.Geography Method (DbGeography, String, String, String, Boolean)
Creates a new parameter definition to pass geography data.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")] [SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public ParameterModel Geography( DbGeography defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, bool outParameter = false )
Parameters
- defaultValue
-
Type:
System.Data.Entity.Spatial.DbGeography
A constant value to use as the default value for this parameter.
- defaultValueSql
-
Type:
System.String
The SQL expression used as the default value for this parameter.
- name
-
Type:
System.String
The name of the parameter.
- storeType
-
Type:
System.String
A 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.