Exemplo n.º 1
0
 /// <summary>
 /// Create a new SavedPrescriptionDrug object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="prescriptionId">Initial value of the PrescriptionId property.</param>
 /// <param name="drugId">Initial value of the DrugId property.</param>
 public static SavedPrescriptionDrug CreateSavedPrescriptionDrug(global::System.Int32 id, global::System.Int32 prescriptionId, global::System.Int32 drugId)
 {
     SavedPrescriptionDrug savedPrescriptionDrug = new SavedPrescriptionDrug();
     savedPrescriptionDrug.Id = id;
     savedPrescriptionDrug.PrescriptionId = prescriptionId;
     savedPrescriptionDrug.DrugId = drugId;
     return savedPrescriptionDrug;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SavedPrescriptionDrugs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSavedPrescriptionDrugs(SavedPrescriptionDrug savedPrescriptionDrug)
 {
     base.AddObject("SavedPrescriptionDrugs", savedPrescriptionDrug);
 }