/// <summary> /// Create a new bvc_GiftCard object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> /// <param name="cardNumber">Initial value of the CardNumber property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="issueDateUtc">Initial value of the IssueDateUtc property.</param> /// <param name="expirationDateUtc">Initial value of the ExpirationDateUtc property.</param> /// <param name="purchaserEmail">Initial value of the PurchaserEmail property.</param> /// <param name="recipientEmail">Initial value of the RecipientEmail property.</param> /// <param name="giftMessage">Initial value of the GiftMessage property.</param> /// <param name="isRedeemed">Initial value of the IsRedeemed property.</param> /// <param name="redemptionDateUtc">Initial value of the RedemptionDateUtc property.</param> /// <param name="redemptionUserId">Initial value of the RedemptionUserId property.</param> public static bvc_GiftCard Createbvc_GiftCard(global::System.Int64 id, global::System.Int64 storeId, global::System.String cardNumber, global::System.Decimal amount, global::System.DateTime issueDateUtc, global::System.DateTime expirationDateUtc, global::System.String purchaserEmail, global::System.String recipientEmail, global::System.String giftMessage, global::System.Boolean isRedeemed, global::System.DateTime redemptionDateUtc, global::System.String redemptionUserId) { bvc_GiftCard bvc_GiftCard = new bvc_GiftCard(); bvc_GiftCard.Id = id; bvc_GiftCard.StoreId = storeId; bvc_GiftCard.CardNumber = cardNumber; bvc_GiftCard.Amount = amount; bvc_GiftCard.IssueDateUtc = issueDateUtc; bvc_GiftCard.ExpirationDateUtc = expirationDateUtc; bvc_GiftCard.PurchaserEmail = purchaserEmail; bvc_GiftCard.RecipientEmail = recipientEmail; bvc_GiftCard.GiftMessage = giftMessage; bvc_GiftCard.IsRedeemed = isRedeemed; bvc_GiftCard.RedemptionDateUtc = redemptionDateUtc; bvc_GiftCard.RedemptionUserId = redemptionUserId; return bvc_GiftCard; }
/// <summary> /// Deprecated Method for adding a new object to the bvc_GiftCard EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_GiftCard(bvc_GiftCard bvc_GiftCard) { base.AddObject("bvc_GiftCard", bvc_GiftCard); }