/// <summary> /// Create a new ReceiptMedicine object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="prescription">Initial value of the Prescription property.</param> /// <param name="receiptId">Initial value of the ReceiptId property.</param> /// <param name="medicineId">Initial value of the MedicineId property.</param> /// <param name="practiceId">Initial value of the PracticeId property.</param> public static ReceiptMedicine CreateReceiptMedicine(global::System.Int32 id, global::System.String quantity, global::System.String prescription, global::System.Int32 receiptId, global::System.Int32 medicineId, global::System.Int32 practiceId) { ReceiptMedicine receiptMedicine = new ReceiptMedicine(); receiptMedicine.Id = id; receiptMedicine.Quantity = quantity; receiptMedicine.Prescription = prescription; receiptMedicine.ReceiptId = receiptId; receiptMedicine.MedicineId = medicineId; receiptMedicine.PracticeId = practiceId; return receiptMedicine; }
/// <summary> /// Deprecated Method for adding a new object to the ReceiptMedicines EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReceiptMedicines(ReceiptMedicine receiptMedicine) { base.AddObject("ReceiptMedicines", receiptMedicine); }