Ejemplo n.º 1
0
 /// <summary>
 /// Create a new bvc_Affiliate object.
 /// </summary>
 /// <param name="id">Initial value of the ID 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>
 public static bvc_Affiliate Createbvc_Affiliate(global::System.Int32 id, global::System.String displayName, global::System.Double 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)
 {
     bvc_Affiliate bvc_Affiliate = new bvc_Affiliate();
     bvc_Affiliate.ID = id;
     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;
     return bvc_Affiliate;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_Affiliate EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_Affiliate(bvc_Affiliate bvc_Affiliate)
 {
     base.AddObject("bvc_Affiliate", bvc_Affiliate);
 }