/// <summary> /// Deprecated Method for adding a new object to the tblperson EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblperson(tblperson tblperson) { base.AddObject("tblperson", tblperson); }
/// <summary> /// Create a new tblperson object. /// </summary> /// <param name="idperson">Initial value of the idperson property.</param> /// <param name="firstname">Initial value of the firstname property.</param> /// <param name="secondname">Initial value of the secondname property.</param> public static tblperson Createtblperson(global::System.Int32 idperson, global::System.String firstname, global::System.String secondname) { tblperson tblperson = new tblperson(); tblperson.idperson = idperson; tblperson.firstname = firstname; tblperson.secondname = secondname; return tblperson; }