/// <summary> /// Create a new bvc_GiftCertificate object. /// </summary> /// <param name="certificateID">Initial value of the CertificateID property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="orderNumber">Initial value of the OrderNumber property.</param> /// <param name="amountUsed">Initial value of the AmountUsed property.</param> public static bvc_GiftCertificate Createbvc_GiftCertificate(global::System.String certificateID, global::System.Double amount, global::System.Int32 orderNumber, global::System.Double amountUsed) { bvc_GiftCertificate bvc_GiftCertificate = new bvc_GiftCertificate(); bvc_GiftCertificate.CertificateID = certificateID; bvc_GiftCertificate.Amount = amount; bvc_GiftCertificate.OrderNumber = orderNumber; bvc_GiftCertificate.AmountUsed = amountUsed; return bvc_GiftCertificate; }
/// <summary> /// Deprecated Method for adding a new object to the bvc_GiftCertificate EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_GiftCertificate(bvc_GiftCertificate bvc_GiftCertificate) { base.AddObject("bvc_GiftCertificate", bvc_GiftCertificate); }