Skip to content

Instantly share code, notes, and snippets.

@SBajonczak
Created January 5, 2022 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SBajonczak/09b582b94239d7f702271795d9133fd1 to your computer and use it in GitHub Desktop.
Save SBajonczak/09b582b94239d7f702271795d9133fd1 to your computer and use it in GitHub Desktop.
City with Geolocation capatibilities
using NetTopologySuite.Geometries;
using System.ComponentModel.DataAnnotations.Schema;
namespace spatial
{
[Table("City")]
public class City
{
public int ID { get; set; }
public string CityName { get; set; }
public Point Location { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment