/// <summary> /// Deprecated Method for adding a new object to the StoreContacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStoreContacts(StoreContact storeContact) { base.AddObject("StoreContacts", storeContact); }
/// <summary> /// Create a new StoreContact object. /// </summary> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="contactID">Initial value of the ContactID 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 StoreContact CreateStoreContact(global::System.Int32 customerID, global::System.Int32 contactID, global::System.Int32 contactTypeID, global::System.Guid rowguid, global::System.DateTime modifiedDate) { StoreContact storeContact = new StoreContact(); storeContact.CustomerID = customerID; storeContact.ContactID = contactID; storeContact.ContactTypeID = contactTypeID; storeContact.rowguid = rowguid; storeContact.ModifiedDate = modifiedDate; return storeContact; }