protected override void OnDataBinding(EventArgs e) { base.OnDataBinding(e); object val = FieldValue; geo = ((System.Data.Spatial.DbGeography)val); location.Text = geo.Latitude.Value.ToString("G",CultureInfo.InvariantCulture) + "," + geo.Longitude.Value.ToString("G",CultureInfo.InvariantCulture); }
protected override void OnDataBinding(EventArgs e) { base.OnDataBinding(e); object val = FieldValue; geo = ((System.Data.Spatial.DbGeography)val); location.Text = geo.Latitude.Value.ToString("G", CultureInfo.InvariantCulture) + "," + geo.Longitude.Value.ToString("G", CultureInfo.InvariantCulture); }
public static System.Int32? NumRings(System.Data.Spatial.DbGeography geographyValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); }
public static System.Boolean? InstanceOf(System.Data.Spatial.DbGeography geographyValue, System.String geometryTypeName) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); }
public static System.Boolean? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); }
public static System.Double? EnvelopeAngle(System.Data.Spatial.DbGeography geographyValue) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); }
public static System.Data.Spatial.DbGeography BufferWithTolerance(System.Data.Spatial.DbGeography geographyValue, System.Double?distance, System.Double?tolerance, System.Boolean?relative) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); }
public static System.Data.Spatial.DbGeography Reduce(System.Data.Spatial.DbGeography geographyValue, System.Double?tolerance) { throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); }
protected override void OnDataBinding(EventArgs e) { base.OnDataBinding(e); System.Data.Spatial.DbGeography geo = (System.Data.Spatial.DbGeography)(FieldValue); location.Text = geo.Latitude + "," + geo.Longitude; }