/// <summary> /// Deprecated Method for adding a new object to the BusinessEntityContacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessEntityContacts(BusinessEntityContact businessEntityContact) { base.AddObject("BusinessEntityContacts", businessEntityContact); }
/// <summary> /// Create a new BusinessEntityContact object. /// </summary> /// <param name="businessEntityID">Initial value of the BusinessEntityID property.</param> /// <param name="personID">Initial value of the PersonID property.</param> /// <param name="contactTypeID">Initial value of the ContactTypeID property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static BusinessEntityContact CreateBusinessEntityContact(global::System.Int32 businessEntityID, global::System.Int32 personID, global::System.Int32 contactTypeID, global::System.Guid rowguid, global::System.DateTime modifiedDate) { BusinessEntityContact businessEntityContact = new BusinessEntityContact(); businessEntityContact.BusinessEntityID = businessEntityID; businessEntityContact.PersonID = personID; businessEntityContact.ContactTypeID = contactTypeID; businessEntityContact.rowguid = rowguid; businessEntityContact.ModifiedDate = modifiedDate; return businessEntityContact; }