/// <summary> /// Create a new BusinessEntityAddress object. /// </summary> /// <param name="businessEntityID">Initial value of the BusinessEntityID property.</param> /// <param name="addressID">Initial value of the AddressID property.</param> /// <param name="addressTypeID">Initial value of the AddressTypeID property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static BusinessEntityAddress CreateBusinessEntityAddress(global::System.Int32 businessEntityID, global::System.Int32 addressID, global::System.Int32 addressTypeID, global::System.Guid rowguid, global::System.DateTime modifiedDate) { BusinessEntityAddress businessEntityAddress = new BusinessEntityAddress(); businessEntityAddress.BusinessEntityID = businessEntityID; businessEntityAddress.AddressID = addressID; businessEntityAddress.AddressTypeID = addressTypeID; businessEntityAddress.rowguid = rowguid; businessEntityAddress.ModifiedDate = modifiedDate; return businessEntityAddress; }
/// <summary> /// Deprecated Method for adding a new object to the BusinessEntityAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessEntityAddresses(BusinessEntityAddress businessEntityAddress) { base.AddObject("BusinessEntityAddresses", businessEntityAddress); }