/// <summary> /// Create a new VendorAddress object. /// </summary> /// <param name="vendorID">Initial value of the VendorID property.</param> /// <param name="addressID">Initial value of the AddressID property.</param> /// <param name="addressTypeID">Initial value of the AddressTypeID property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static VendorAddress CreateVendorAddress(global::System.Int32 vendorID, global::System.Int32 addressID, global::System.Int32 addressTypeID, global::System.DateTime modifiedDate) { VendorAddress vendorAddress = new VendorAddress(); vendorAddress.VendorID = vendorID; vendorAddress.AddressID = addressID; vendorAddress.AddressTypeID = addressTypeID; vendorAddress.ModifiedDate = modifiedDate; return vendorAddress; }
/// <summary> /// Deprecated Method for adding a new object to the VendorAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVendorAddresses(VendorAddress vendorAddress) { base.AddObject("VendorAddresses", vendorAddress); }