/// <summary> /// Deprecated Method for adding a new object to the Purchaseentrycounters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPurchaseentrycounters(Purchaseentrycounter purchaseentrycounter) { base.AddObject("Purchaseentrycounters", purchaseentrycounter); }
/// <summary> /// Create a new Purchaseentrycounter object. /// </summary> /// <param name="purchaseid">Initial value of the Purchaseid property.</param> public static Purchaseentrycounter CreatePurchaseentrycounter(global::System.Int64 purchaseid) { Purchaseentrycounter purchaseentrycounter = new Purchaseentrycounter(); purchaseentrycounter.Purchaseid = purchaseid; return purchaseentrycounter; }