using TEntityContext context = new TEntityContext();
                //foreach(var record in listRecords)
                //{
                //}
                context.Set<T>().AddRange(listRecords);
                //context.AddRange(listRecords);
                context.SaveChanges();

  

相关文章:

  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-07-24
  • 2021-04-06
  • 2021-09-26
  • 2022-12-23
相关资源
相似解决方案