Skip to content

Instantly share code, notes, and snippets.

@Itslet
Created Dec 5, 2010
Embed
What would you like to do?
using Iesi.Collections.Generic;
namespace Concepts.Core
{
public class Address : Entity
{
public virtual string StreetName { get; set; }
public virtual string StreetNumber { get; set; }
public virtual string PostcalCode { get; set; }
public virtual string City { get; set; }
public virtual string Country { get; set; }
public virtual string LandLine { get; set; }
public virtual bool PostalAddress { get; set; }
public virtual Iesi.Collections.Generic.ISet<PersonAddress> Persons { get; set; }
public Address() {
Persons = new HashedSet<PersonAddress>();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment