/// <summary> /// Deprecated Method for adding a new object to the Cust_Postal_Address EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCust_Postal_Address(Cust_Postal_Address cust_Postal_Address) { base.AddObject("Cust_Postal_Address", cust_Postal_Address); }
/// <summary> /// Create a new Cust_Postal_Address object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="state">Initial value of the state property.</param> /// <param name="suburb">Initial value of the suburb property.</param> /// <param name="street">Initial value of the street property.</param> /// <param name="street_number">Initial value of the street_number property.</param> /// <param name="cust_postal_add_code">Initial value of the cust_postal_add_code property.</param> public static Cust_Postal_Address CreateCust_Postal_Address(global::System.Int32 id, global::System.String state, global::System.String suburb, global::System.String street, global::System.Int32 street_number, global::System.Int32 cust_postal_add_code) { Cust_Postal_Address cust_Postal_Address = new Cust_Postal_Address(); cust_Postal_Address.id = id; cust_Postal_Address.state = state; cust_Postal_Address.suburb = suburb; cust_Postal_Address.street = street; cust_Postal_Address.street_number = street_number; cust_Postal_Address.cust_postal_add_code = cust_postal_add_code; return cust_Postal_Address; }