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

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