Ejemplo n.º 1
0
 /// <summary>
 /// Create a new SecUser object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="updatedOn">Initial value of the UpdatedOn property.</param>
 /// <param name="updatedBy">Initial value of the UpdatedBy property.</param>
 public static SecUser CreateSecUser(global::System.Int32 userId, global::System.String userName, global::System.String password, global::System.Int32 roleId, global::System.Boolean status, global::System.String email, global::System.DateTime createdOn, global::System.Int32 createdBy, global::System.DateTime updatedOn, global::System.Int32 updatedBy)
 {
     SecUser secUser = new SecUser();
     secUser.UserId = userId;
     secUser.UserName = userName;
     secUser.Password = password;
     secUser.RoleId = roleId;
     secUser.Status = status;
     secUser.Email = email;
     secUser.CreatedOn = createdOn;
     secUser.CreatedBy = createdBy;
     secUser.UpdatedOn = updatedOn;
     secUser.UpdatedBy = updatedBy;
     return secUser;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SecUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSecUsers(SecUser secUser)
 {
     base.AddObject("SecUsers", secUser);
 }