Method SetFieldGeography
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
SetFieldGeography(string, Geometry)
Sets the value of a geography (geodetic/spherical) field from a NetTopologySuite.Geometries.Geometry object. The geometry is automatically wrapped in a Geography container.
public void SetFieldGeography(string fieldName, Geometry value)
Parameters
fieldNamestringThe column name.
valueGeometryThe NetTopologySuite.Geometries.Geometry to wrap and store, or
nullto set the field to SQL NULL.
SetFieldGeography(string, Geography)
Sets the value of a geography (geodetic/spherical) field from a Geography wrapper object.
public void SetFieldGeography(string fieldName, Geography value)