コード例 #1
0
 /// <summary>
 /// Create a new Patient object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="modifyDate">Initial value of the ModifyDate property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static Patient CreatePatient(global::System.Guid id, global::System.DateTime createDate, global::System.DateTime modifyDate, global::System.Boolean isDeleted)
 {
     Patient patient = new Patient();
     patient.Id = id;
     patient.CreateDate = createDate;
     patient.ModifyDate = modifyDate;
     patient.IsDeleted = isDeleted;
     return patient;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Patient EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPatient(Patient patient)
 {
     base.AddObject("Patient", patient);
 }