Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PatientDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPatientDetails(PatientDetail patientDetail)
 {
     base.AddObject("PatientDetails", patientDetail);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new PatientDetail object.
 /// </summary>
 /// <param name="patientid">Initial value of the Patientid property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="sex">Initial value of the Sex property.</param>
 /// <param name="dateofBirth">Initial value of the DateofBirth property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 public static PatientDetail CreatePatientDetail(global::System.Int32 patientid, global::System.String firstName, global::System.String lastName, global::System.String sex, global::System.DateTime dateofBirth, global::System.String address, global::System.String username)
 {
     PatientDetail patientDetail = new PatientDetail();
     patientDetail.Patientid = patientid;
     patientDetail.FirstName = firstName;
     patientDetail.LastName = lastName;
     patientDetail.Sex = sex;
     patientDetail.DateofBirth = dateofBirth;
     patientDetail.Address = address;
     patientDetail.Username = username;
     return patientDetail;
 }