/// <summary> /// Create a new bvc_Affiliate object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="referralID">Initial value of the ReferralID property.</param> /// <param name="enabled">Initial value of the Enabled property.</param> /// <param name="displayName">Initial value of the DisplayName property.</param> /// <param name="commissionAmount">Initial value of the CommissionAmount property.</param> /// <param name="commissionType">Initial value of the CommissionType property.</param> /// <param name="referralDays">Initial value of the ReferralDays property.</param> /// <param name="taxID">Initial value of the TaxID property.</param> /// <param name="driversLicenseNumber">Initial value of the DriversLicenseNumber property.</param> /// <param name="webSiteURL">Initial value of the WebSiteURL property.</param> /// <param name="styleSheet">Initial value of the StyleSheet property.</param> /// <param name="notes">Initial value of the Notes property.</param> /// <param name="lastUpdated">Initial value of the LastUpdated property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> public static bvc_Affiliate Createbvc_Affiliate(global::System.Int64 id, global::System.String referralID, global::System.Boolean enabled, global::System.String displayName, global::System.Decimal commissionAmount, global::System.Int32 commissionType, global::System.Int32 referralDays, global::System.String taxID, global::System.String driversLicenseNumber, global::System.String webSiteURL, global::System.String styleSheet, global::System.String notes, global::System.DateTime lastUpdated, global::System.String address, global::System.Int64 storeId) { bvc_Affiliate bvc_Affiliate = new bvc_Affiliate(); bvc_Affiliate.Id = id; bvc_Affiliate.ReferralID = referralID; bvc_Affiliate.Enabled = enabled; bvc_Affiliate.DisplayName = displayName; bvc_Affiliate.CommissionAmount = commissionAmount; bvc_Affiliate.CommissionType = commissionType; bvc_Affiliate.ReferralDays = referralDays; bvc_Affiliate.TaxID = taxID; bvc_Affiliate.DriversLicenseNumber = driversLicenseNumber; bvc_Affiliate.WebSiteURL = webSiteURL; bvc_Affiliate.StyleSheet = styleSheet; bvc_Affiliate.Notes = notes; bvc_Affiliate.LastUpdated = lastUpdated; bvc_Affiliate.Address = address; bvc_Affiliate.StoreId = storeId; return bvc_Affiliate; }
/// <summary> /// Deprecated Method for adding a new object to the bvc_Affiliate EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_Affiliate(bvc_Affiliate bvc_Affiliate) { base.AddObject("bvc_Affiliate", bvc_Affiliate); }