/// <summary> /// Create a new tblUserHist object. /// </summary> /// <param name="idTblUserHist">Initial value of the idTblUserHist property.</param> /// <param name="idTblUser">Initial value of the idTblUser property.</param> /// <param name="nameFirst">Initial value of the nameFirst property.</param> /// <param name="nameLast">Initial value of the nameLast property.</param> /// <param name="dateCreated">Initial value of the dateCreated property.</param> /// <param name="userCreatedBy">Initial value of the UserCreatedBy property.</param> /// <param name="userModifiedBY">Initial value of the UserModifiedBY property.</param> public static tblUserHist CreatetblUserHist(global::System.Int32 idTblUserHist, global::System.Int32 idTblUser, global::System.String nameFirst, global::System.String nameLast, global::System.DateTime dateCreated, global::System.String userCreatedBy, global::System.String userModifiedBY) { tblUserHist tblUserHist = new tblUserHist(); tblUserHist.idTblUserHist = idTblUserHist; tblUserHist.idTblUser = idTblUser; tblUserHist.nameFirst = nameFirst; tblUserHist.nameLast = nameLast; tblUserHist.dateCreated = dateCreated; tblUserHist.UserCreatedBy = userCreatedBy; tblUserHist.UserModifiedBY = userModifiedBY; return tblUserHist; }
/// <summary> /// Deprecated Method for adding a new object to the tblUserHists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblUserHists(tblUserHist tblUserHist) { base.AddObject("tblUserHists", tblUserHist); }