Inheritance: EntityBase
Example #1
0
 internal static Address Create(AddressType type)
 {
     return new Address { Id = CombGuid.NewGuid(), AddressTypeId = type.Id };
 }
        public Address AddAddress(AddressType type)
        {
            Address address = Address.Create(type);
            Addresses.Add(address);

            return address;
        }