public virtual void test() { List <SysUser> list = new List <SysUser>(); for (int i = 0; i < 1000000; i++) { SysUser user = new SysUser { LoginName = "user" + (i + 1), Pwd = "000000", IsStop = false }; list.Add(user); } sysUserRepository.Add1(list); }