예제 #1
0
 public static void AddUser(string UserId, string UserNum, string Name, string Password, bool IsLockOut, bool IsDelete, bool IsAvailable, DateTime UserCreateTime, string Sex, int BranchID)
 {
     DSImportStudentsTableAdapters.ImportStudentsAdapter helper = new DSImportStudentsTableAdapters.ImportStudentsAdapter();
     helper.AddUser(UserId, UserNum, Name, Password, IsLockOut, IsAvailable, IsDelete, UserCreateTime, Sex, BranchID);
 }
예제 #2
0
 public static string GetBranchIDbyBranchName(string BranchName)
 {
     DSImportStudentsTableAdapters.ImportStudentsAdapter helper = new DSImportStudentsTableAdapters.ImportStudentsAdapter();
     return(helper.GetBranchIDbyBranchName(BranchName).ToString());
 }
예제 #3
0
 public static void AddUserInRoles(string RoleId, string UserCode)
 {
     DSImportStudentsTableAdapters.ImportStudentsAdapter helper = new DSImportStudentsTableAdapters.ImportStudentsAdapter();
     helper.AddUserInRoles(RoleId, UserCode);
 }
예제 #4
0
 public static string GetRoleIdByRoleName(string RoleName)
 {
     DSImportStudentsTableAdapters.ImportStudentsAdapter helper = new DSImportStudentsTableAdapters.ImportStudentsAdapter();
     return(helper.GetRoleIdByRoleName(RoleName).ToString());
 }
예제 #5
0
 public static void UpdateUserName(string Name, string UserId)
 {
     DSImportStudentsTableAdapters.ImportStudentsAdapter helper = new DSImportStudentsTableAdapters.ImportStudentsAdapter();
     helper.UpdateUserName(Name, UserId);
 }
예제 #6
0
 public static string GetUserIdBySno(string Sno)
 {
     DSImportStudentsTableAdapters.ImportStudentsAdapter helper = new DSImportStudentsTableAdapters.ImportStudentsAdapter();
     return(helper.GetUserIDBySno(Sno).ToString());
 }