/// <summary> /// Deprecated Method for adding a new object to the Merchants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMerchants(Merchant merchant) { base.AddObject("Merchants", merchant); }
/// <summary> /// Create a new Merchant object. /// </summary> /// <param name="merchantID">Initial value of the MerchantID property.</param> /// <param name="businessName">Initial value of the BusinessName property.</param> /// <param name="bizAddressID">Initial value of the BizAddressID property.</param> /// <param name="bizPhoneID">Initial value of the BizPhoneID property.</param> /// <param name="facebookID">Initial value of the FacebookID property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> public static Merchant CreateMerchant(global::System.Int64 merchantID, global::System.String businessName, global::System.Int64 bizAddressID, global::System.Int64 bizPhoneID, global::System.Int64 facebookID, global::System.DateTime dateCreated) { Merchant merchant = new Merchant(); merchant.MerchantID = merchantID; merchant.BusinessName = businessName; merchant.BizAddressID = bizAddressID; merchant.BizPhoneID = bizPhoneID; merchant.FacebookID = facebookID; merchant.DateCreated = dateCreated; return merchant; }