Exemple #1
0
 /// <summary>
 /// Create a new tblUser object.
 /// </summary>
 /// <param name="idUser">Initial value of the idUser 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="createdByLogin">Initial value of the CreatedByLogin property.</param>
 /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param>
 public static tblUser CreatetblUser(global::System.Int32 idUser, global::System.String nameFirst, global::System.String nameLast, global::System.DateTime dateCreated, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblUser tblUser = new tblUser();
     tblUser.idUser = idUser;
     tblUser.nameFirst = nameFirst;
     tblUser.nameLast = nameLast;
     tblUser.dateCreated = dateCreated;
     tblUser.CreatedByLogin = createdByLogin;
     tblUser.ModifiedByLogin = modifiedByLogin;
     return tblUser;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblUsers(tblUser tblUser)
 {
     base.AddObject("tblUsers", tblUser);
 }