/// <summary> /// Create a new MP_Address object. /// </summary> /// <param name="addressId">Initial value of the AddressId property.</param> /// <param name="referenceId">Initial value of the ReferenceId property.</param> /// <param name="address1">Initial value of the Address1 property.</param> /// <param name="addressGroupId">Initial value of the AddressGroupId property.</param> public static MP_Address CreateMP_Address(global::System.Int32 addressId, global::System.Int32 referenceId, global::System.String address1, global::System.Int32 addressGroupId) { MP_Address mP_Address = new MP_Address(); mP_Address.AddressId = addressId; mP_Address.ReferenceId = referenceId; mP_Address.Address1 = address1; mP_Address.AddressGroupId = addressGroupId; return mP_Address; }
/// <summary> /// Deprecated Method for adding a new object to the MP_Address EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMP_Address(MP_Address mP_Address) { base.AddObject("MP_Address", mP_Address); }