Inheritance: EntityBase
        public Address AddAddress(AddressType type)
        {
            Address address = Address.Create(type);
            Addresses.Add(address);

            return address;
        }
Ejemplo n.º 2
0
 internal static Address Create(AddressType type)
 {
     return new Address { Id = CombGuid.NewGuid(), AddressTypeId = type.Id };
 }
Ejemplo n.º 3
0
 internal static Address Create(AddressType type)
 {
     return(new Address {
         Id = CombGuid.NewGuid(), AddressTypeId = type.Id
     });
 }