Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SystemSettings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSystemSettings(SystemSettings systemSettings)
 {
     base.AddObject("SystemSettings", systemSettings);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new SystemSettings object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="smsUsername">Initial value of the SmsUsername property.</param>
 /// <param name="smsPassword">Initial value of the SmsPassword property.</param>
 /// <param name="patientIdGenerator">Initial value of the PatientIdGenerator property.</param>
 /// <param name="reminderText">Initial value of the ReminderText property.</param>
 /// <param name="reminderTime">Initial value of the ReminderTime property.</param>
 /// <param name="sendReminder">Initial value of the SendReminder property.</param>
 public static SystemSettings CreateSystemSettings(global::System.Int32 id, global::System.String smsUsername, global::System.String smsPassword, global::System.Int32 patientIdGenerator, global::System.String reminderText, global::System.Byte reminderTime, global::System.Boolean sendReminder)
 {
     SystemSettings systemSettings = new SystemSettings();
     systemSettings.Id = id;
     systemSettings.SmsUsername = smsUsername;
     systemSettings.SmsPassword = smsPassword;
     systemSettings.PatientIdGenerator = patientIdGenerator;
     systemSettings.ReminderText = reminderText;
     systemSettings.ReminderTime = reminderTime;
     systemSettings.SendReminder = sendReminder;
     return systemSettings;
 }