Am I need to use SaveChanges after AddAsync()?

前端 未结 0 457
刺人心
刺人心 2021-01-22 06:32

What is the best practice to use AddAsync() in combination with SaveChanges() in EntityFrameworkCore? I have code like this:

   public class Book
   {
       publ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题