/// <summary> /// Deprecated Method for adding a new object to the ReceiptTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReceiptTypes(ReceiptType receiptType) { base.AddObject("ReceiptTypes", receiptType); }
/// <summary> /// Create a new ReceiptType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static ReceiptType CreateReceiptType(global::System.Int32 id) { ReceiptType receiptType = new ReceiptType(); receiptType.ID = id; return receiptType; }