/// <summary> /// Deprecated Method for adding a new object to the tblStudents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblStudents(tblStudent tblStudent) { base.AddObject("tblStudents", tblStudent); }
/// <summary> /// Create a new tblStudent object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="personID">Initial value of the PersonID property.</param> /// <param name="addressID">Initial value of the AddressID property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="active">Initial value of the Active property.</param> public static tblStudent CreatetblStudent(global::System.Int32 id, global::System.Int32 personID, global::System.Int32 addressID, global::System.DateTime createdDate, global::System.String createdBy, global::System.Boolean active) { tblStudent tblStudent = new tblStudent(); tblStudent.ID = id; tblStudent.PersonID = personID; tblStudent.AddressID = addressID; tblStudent.CreatedDate = createdDate; tblStudent.CreatedBy = createdBy; tblStudent.Active = active; return tblStudent; }