Table of Contents

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

fieldName string

The column name.

value Geometry

The NetTopologySuite.Geometries.Geometry to wrap and store, or null to 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)

Parameters

fieldName string

The column name.

value Geography

The Geography value, or null to set the field to SQL NULL.