Exemple #1
0
        /// <summary>
        /// Create a new PurchaseTbl object.
        /// </summary>
        /// <param name="purchaseId">Initial value of the PurchaseId property.</param>
        /// <param name="cid">Initial value of the Cid property.</param>
        /// <param name="productName">Initial value of the ProductName property.</param>
        public static PurchaseTbl CreatePurchaseTbl(global::System.Int32 purchaseId, global::System.Int32 cid, global::System.String productName)
        {
            PurchaseTbl purchaseTbl = new PurchaseTbl();

            purchaseTbl.PurchaseId  = purchaseId;
            purchaseTbl.Cid         = cid;
            purchaseTbl.ProductName = productName;
            return(purchaseTbl);
        }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PurchaseTbls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurchaseTbls(PurchaseTbl purchaseTbl)
 {
     base.AddObject("PurchaseTbls", purchaseTbl);
 }