Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

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

Open

Description

@hitaspdotnet

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions