/// <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); }
/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Pacients EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPacients(Pacient pacient) { base.AddObject("Pacients", pacient); }