예제 #1
0
        /// <summary>
        /// Create a new Pacient object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="fname">Initial value of the fname property.</param>
        /// <param name="lname">Initial value of the lname property.</param>
        /// <param name="idno">Initial value of the idno property.</param>
        /// <param name="dob">Initial value of the dob property.</param>
        /// <param name="createdon">Initial value of the createdon property.</param>
        public static Pacient CreatePacient(global::System.Int32 id, global::System.String fname, global::System.String lname, global::System.String idno, global::System.DateTime dob, global::System.DateTime createdon)
        {
            Pacient pacient = new Pacient();

            pacient.Id        = id;
            pacient.fname     = fname;
            pacient.lname     = lname;
            pacient.idno      = idno;
            pacient.dob       = dob;
            pacient.createdon = createdon;
            return(pacient);
        }
예제 #2
0
 /// <summary>
 /// Create a new Pacient object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="fname">Initial value of the fname property.</param>
 /// <param name="lname">Initial value of the lname property.</param>
 /// <param name="idno">Initial value of the idno property.</param>
 /// <param name="dob">Initial value of the dob property.</param>
 /// <param name="createdon">Initial value of the createdon property.</param>
 public static Pacient CreatePacient(global::System.Int32 id, global::System.String fname, global::System.String lname, global::System.String idno, global::System.DateTime dob, global::System.DateTime createdon)
 {
     Pacient pacient = new Pacient();
     pacient.Id = id;
     pacient.fname = fname;
     pacient.lname = lname;
     pacient.idno = idno;
     pacient.dob = dob;
     pacient.createdon = createdon;
     return pacient;
 }
예제 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pacients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPacients(Pacient pacient)
 {
     base.AddObject("Pacients", pacient);
 }
예제 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pacients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPacients(Pacient pacient)
 {
     base.AddObject("Pacients", pacient);
 }