Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question][Need Help] Using for existing entity #100

Open
hitaspdotnet opened this issue May 16, 2018 · 0 comments
Open

[Question][Need Help] Using for existing entity #100

hitaspdotnet opened this issue May 16, 2018 · 0 comments

Comments

@hitaspdotnet
Copy link

Hi,
Is there any documents about using Geocoding.Net for existing Address entity?
I have a already complete Project as School Research and my teacher asked for adding component for getting GeoLocation by user address's.
But the existing Address Entity isn't just a string.

    [Table("Addresses")]
    public class Address 
    {
		public virtual string FirstName { get; set; }

		public virtual string LastName { get; set; }
		
		public virtual string Email { get; set; }
		
		public virtual string Company { get; set; }

		public virtual string Address1 { get; set; }
		
		public virtual string Address2 { get; set; }

		public virtual string ZipPostalCode { get; set; }

		public virtual string PhoneNumber { get; set; }
		
		public virtual string FaxNumber { get; set; }

		public virtual long CountryId { get; set; }
		public Country Country { get; set; }
		
		public virtual long StateOrProvinceId { get; set; }
		public StateOrProvince StateOrProvince { get; set; }
		
		public virtual long CityId { get; set; }
		public City City { get; set; }
		
		public virtual long? DistrictId { get; set; }
		public District District { get; set; }
    }

Please! Can anyone guide me to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant