Exemplo n.º 1
0
 private static void SetAdmin(CompanyType ct)
 {
     UserType user = new UserType();
     user.CompanyCode = ct.Code;
     user.CompanyName = ct.FullName;
     user.Username = "******";
     user.UserPassword = "******";
     user.Sex = "男";
     user.Realname = "管理员";
     user.Birthday = "";
     user.insert();
 }