Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joebuschmann/e50d1679ea8406dacac84eaaa8752795 to your computer and use it in GitHub Desktop.
Save joebuschmann/e50d1679ea8406dacac84eaaa8752795 to your computer and use it in GitHub Desktop.
public class Address
{
[TableAliases("Street")]
public string Line1 { get; set; }
[TableAliases("Township", "Village")]
public string City { get; set; }
[TableAliases("Province")]
public string State { get; set; }
[TableAliases("Zip", "Zip\\s*Code", "Postal\\s*Code")]
public string Zipcode { get; set; }
public GeoLocation Location { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment