EFDbContext db = new EFDbContext();
????????????XLinqDataContext xlinq = new XLinqDataContext();
????????????xlinq.Set<LargeUser>().Delete();
????????????ExecuteTimer("EF大表插入10条数据", () =>
????????????{
????????????????var userDb = db.LargUsers;
????????????????for (int i = 0; i < 10; i++)
????????????????{
????????????????????userDb.Add(new LargeUser()
????????????????????{
????????????????????????BankAccount = "zzzz",
????????????????????????BankBranchName = "xxxx",
????????????????????????BankCity = 1,
????????????????????????BankOtherType = "aaaaaaaa",
????????????????????????BankType = 11,
????????????????????????BorrowCredit = 11,
????????????????????????CanCreateListDate = DateTime.Now.Date,
????????????????????????CreationDate = DateTime.Now,
????????????????????????DefaultRisk = 1,
????????????????????????Dispark = 1,
????????????????????????DisplayName = "xxxx",
????????????????????????Email = "aaa",
????????????????????????ExecuteAdminID = 1,
????????????????????????flag_UsertoCEmail = 1,
????????????????????????inserttime = DateTime.Now,
????????????????????????ISactive = true,
????????????????????????IsDelete = 0,
????????????????????????IsInpour = true,
????????????????????????IsTemp = true,
????????????????????????LastLoginDate = DateTime.Now,
????????????????????????LastUpdated = DateTime.Now,
????????????????????????LendCredit = 1,
????????????????????????LendRisk = true,
????????????????????????Level = 1,
????????????????????????materialScore = 1,
????????????????????????Password = "xxx",
????????????????????????Password0 = "xxxx",
????????????????????????Password09 = "xxxx",
????????????????????????Password11 = "xxxx",
????????????????????????Password111 = "xxxx",
????????????????????????Password12 = "xxxx",
????????????????????????Password122 = "xxxx",
????????????????????????Password13 = "xxxx",
????????????????????????Password133 = "xxxx",
????????????????????????Password14 = "xxxx",
????????????????????????Password144 = "xxxx",
????????????????????????Password15 = "xxxx",
????????????????????????Password155 = "xxxx",
????????????????????????Password16 = "xxxx",
????????????????????????Password166 = "xxxx",
????????????????????????Password17 = "xxxx",
????????????????????????Password177 = "xxxx",
????????????????????????Password18 = "xxxx",
????????????????????????Password188 = "xxxx",
????????????????????????Password19 = "xxxx",
????????????????????????Password199 = "xxxx",
????????????????????????Password2 = "xxxx",
????????????????????????Password21 = "xxxx",
????????????????????????Password3 = "xxxx",
????????????????????????Password32 = "xxxx",
????????????????????????Password4 = "xxxx",
????????????????????????Password43 = "xxxx",
????????????????????????Password5 = "xxxx",
????????????????????????Password54 = "xxxx",
????????????????????????Password6 = "xxxx",
????????????????????????Password65 = "xxxx",
????????????????????????Password7 = "xxxx",
????????????????????????Password76 = "xxxx",
????????????????????????Password8 = "xxxx",
????????????????????????Password87 = "xxxx",
????????????????????????Password9 = "xxxx",
????????????????????????Password98 = "xxxx",
????????????????????????Picture = "xxxx",
????????????????????????Role = 1,
????????????????????????SpaceID = 1,
????????????????????????updatetime = DateTime.Now,
????????????????????????UserName = "xxx",
????????????????????????Verifystatus = 1
????????????????????});
????????????????}
????????????????xlinq.SaveChanges();
????????????});
????????????xlinq.Set<LargeUser>().Delete();
????????????ExecuteTimer("XLinq大表插入10条数据", () =>
????????????{
????????????????var userDb = xlinq.Set<LargeUser>();
????????????????for (int i = 0; i < 10; i++)
????????????????{
????????????????????userDb.Add(new LargeUser()
????????????????????{
????????????????????????BankAccount = "zzzz",
????????????????????????BankBranchName = "xxxx",
????????????????????????BankCity = 1,//代码太多,省略
????????????????????});
????????????????}
????????????????xlinq.SaveChanges();
????????????});
大概50个字段吧