/// <summary> /// Deprecated Method for adding a new object to the PrescriptionPickups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrescriptionPickups(PrescriptionPickup prescriptionPickup) { base.AddObject("PrescriptionPickups", prescriptionPickup); }
/// <summary> /// Create a new PrescriptionPickup object. /// </summary> /// <param name="prescriptionPickupId">Initial value of the PrescriptionPickupId property.</param> /// <param name="accountId">Initial value of the AccountId property.</param> /// <param name="medicationId">Initial value of the MedicationId property.</param> /// <param name="appointmentDateTime">Initial value of the AppointmentDateTime property.</param> /// <param name="currentVersion">Initial value of the CurrentVersion property.</param> public static PrescriptionPickup CreatePrescriptionPickup(global::System.Int32 prescriptionPickupId, global::System.Int32 accountId, global::System.Int32 medicationId, global::System.DateTimeOffset appointmentDateTime, global::System.Byte[] currentVersion) { PrescriptionPickup prescriptionPickup = new PrescriptionPickup(); prescriptionPickup.PrescriptionPickupId = prescriptionPickupId; prescriptionPickup.AccountId = accountId; prescriptionPickup.MedicationId = medicationId; prescriptionPickup.AppointmentDateTime = appointmentDateTime; prescriptionPickup.CurrentVersion = currentVersion; return prescriptionPickup; }