public void Parse(byte[] data, ICoordinateSystem system) { _Geometry=new SqlGeometry(SqlTypes.SqlGeometry.STGeomFromWKB(new SqlBytes(data), system.Code), system); }
public void Parse(string text, ICoordinateSystem system) { _Geometry=new SqlGeometry(SqlTypes.SqlGeometry.STGeomFromText((SqlChars)((SqlString)text), system.Code), system); }