Created
January 5, 2022 19:21
-
-
Save SBajonczak/09b582b94239d7f702271795d9133fd1 to your computer and use it in GitHub Desktop.
City with Geolocation capatibilities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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