public virtual Memberships.MembershipsDataTable GetUsersInRoleById(System.Nullable<System.Guid> RoleId) { this.Adapter.SelectCommand = this.CommandCollection[15]; if ((RoleId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(RoleId.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value; } Memberships.MembershipsDataTable dataTable = new Memberships.MembershipsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Memberships.MembershipsDataTable GetUsersInOfficeRole(string Username, System.Nullable<System.Guid> RoleId) { this.Adapter.SelectCommand = this.CommandCollection[14]; if ((Username == null)) { this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Username)); } if ((RoleId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[2].Value = ((System.Guid)(RoleId.Value)); } else { this.Adapter.SelectCommand.Parameters[2].Value = System.DBNull.Value; } Memberships.MembershipsDataTable dataTable = new Memberships.MembershipsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Memberships.MembershipsDataTable GetUsersByUsername(string Username) { this.Adapter.SelectCommand = this.CommandCollection[13]; if ((Username == null)) { this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Username)); } Memberships.MembershipsDataTable dataTable = new Memberships.MembershipsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Memberships.MembershipsDataTable GetUserById(System.Guid UserId) { this.Adapter.SelectCommand = this.CommandCollection[6]; this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(UserId)); Memberships.MembershipsDataTable dataTable = new Memberships.MembershipsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Memberships.MembershipsDataTable GetPasswordResetInfo(System.Nullable<System.Guid> UserId) { this.Adapter.SelectCommand = this.CommandCollection[5]; if ((UserId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(UserId.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = System.DBNull.Value; } Memberships.MembershipsDataTable dataTable = new Memberships.MembershipsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Memberships.MembershipsDataTable GetAllUsers() { this.Adapter.SelectCommand = this.CommandCollection[2]; Memberships.MembershipsDataTable dataTable = new Memberships.MembershipsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }