/// <summary>
 /// Create a new EpmCustomer object.
 /// </summary>
 /// <param name="id">Initial value of ID.</param>
 /// <param name="address">Initial value of Address.</param>
 public static EpmCustomer CreateEpmCustomer(int id, EpmAddress address)
 {
     EpmCustomer epmCustomer = new EpmCustomer();
     epmCustomer.ID = id;
     epmCustomer.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return epmCustomer;
 }
Beispiel #2
0
        /// <summary>
        /// Create a new EpmCustomerWithBirthday object.
        /// </summary>
        /// <param name="id">Initial value of ID.</param>
        /// <param name="address">Initial value of Address.</param>
        public static EpmCustomerWithBirthday CreateEpmCustomerWithBirthday(int id, EpmAddress address)
        {
            EpmCustomerWithBirthday epmCustomerWithBirthday = new EpmCustomerWithBirthday();

            epmCustomerWithBirthday.ID      = id;
            epmCustomerWithBirthday.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
            return(epmCustomerWithBirthday);
        }
Beispiel #3
0
        /// <summary>
        /// Create a new EpmCustomer object.
        /// </summary>
        /// <param name="id">Initial value of ID.</param>
        /// <param name="address">Initial value of Address.</param>
        public static EpmCustomer CreateEpmCustomer(int id, EpmAddress address)
        {
            EpmCustomer epmCustomer = new EpmCustomer();

            epmCustomer.ID      = id;
            epmCustomer.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
            return(epmCustomer);
        }
 /// <summary>
 /// Create a new EpmCustomerWithBirthday object.
 /// </summary>
 /// <param name="id">Initial value of ID.</param>
 /// <param name="address">Initial value of Address.</param>
 public static EpmCustomerWithBirthday CreateEpmCustomerWithBirthday(int id, EpmAddress address)
 {
     EpmCustomerWithBirthday epmCustomerWithBirthday = new EpmCustomerWithBirthday();
     epmCustomerWithBirthday.ID = id;
     epmCustomerWithBirthday.Address = global::System.Data.Objects.DataClasses.StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return epmCustomerWithBirthday;
 }
 partial void OnAddressChanging(EpmAddress value);
Beispiel #6
0
 partial void OnAddressChanging(EpmAddress value);