コード例 #1
0
 /// <summary>
 /// Create a new bvc_GiftCertificate object.
 /// </summary>
 /// <param name="bvin">Initial value of the Bvin property.</param>
 /// <param name="lineItemId">Initial value of the LineItemId property.</param>
 /// <param name="certificateCode">Initial value of the CertificateCode property.</param>
 /// <param name="dateIssued">Initial value of the DateIssued property.</param>
 /// <param name="originalAmount">Initial value of the OriginalAmount property.</param>
 /// <param name="currentAmount">Initial value of the CurrentAmount property.</param>
 /// <param name="associatedProductId">Initial value of the AssociatedProductId property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 public static bvc_GiftCertificate Createbvc_GiftCertificate(global::System.String bvin, global::System.String lineItemId, global::System.String certificateCode, global::System.DateTime dateIssued, global::System.Decimal originalAmount, global::System.Decimal currentAmount, global::System.String associatedProductId, global::System.DateTime lastUpdated)
 {
     bvc_GiftCertificate bvc_GiftCertificate = new bvc_GiftCertificate();
     bvc_GiftCertificate.Bvin = bvin;
     bvc_GiftCertificate.LineItemId = lineItemId;
     bvc_GiftCertificate.CertificateCode = certificateCode;
     bvc_GiftCertificate.DateIssued = dateIssued;
     bvc_GiftCertificate.OriginalAmount = originalAmount;
     bvc_GiftCertificate.CurrentAmount = currentAmount;
     bvc_GiftCertificate.AssociatedProductId = associatedProductId;
     bvc_GiftCertificate.LastUpdated = lastUpdated;
     return bvc_GiftCertificate;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_GiftCertificate EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_GiftCertificate(bvc_GiftCertificate bvc_GiftCertificate)
 {
     base.AddObject("bvc_GiftCertificate", bvc_GiftCertificate);
 }