Пример #1
0
 /// <summary>
 /// Create a new Patient object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Patient CreatePatient(global::System.Int32 id, global::System.String name)
 {
     Patient patient = new Patient();
     patient.Id = id;
     patient.Name = name;
     return patient;
 }
 /// <summary>
 /// Create a new Patient object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 public static Patient CreatePatient(global::System.Int32 id, global::System.String firstName, global::System.String lastName)
 {
     Patient patient = new Patient();
     patient.Id = id;
     patient.FirstName = firstName;
     patient.LastName = lastName;
     return patient;
 }
Пример #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Patients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPatients(Patient patient)
 {
     base.AddObject("Patients", patient);
 }
Пример #4
0
 /// <summary>
 /// Create a new Patient object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="street">Initial value of the Street property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="zip">Initial value of the Zip property.</param>
 /// <param name="policyNumber">Initial value of the PolicyNumber property.</param>
 public static Patient CreatePatient(global::System.Int32 id, global::System.String firstName, global::System.String lastName, global::System.String street, global::System.String city, global::System.String state, global::System.String zip, global::System.String policyNumber)
 {
     Patient patient = new Patient();
     patient.Id = id;
     patient.FirstName = firstName;
     patient.LastName = lastName;
     patient.Street = street;
     patient.City = city;
     patient.State = state;
     patient.Zip = zip;
     patient.PolicyNumber = policyNumber;
     return patient;
 }