示例#1
0
 public TodoRepository(TodoDataContext dataContext)
 {
     _dataContext = dataContext;
 }
示例#2
0
 public static void Initialize(TodoDataContext dataContext)
 {
     dataContext.Database.EnsureCreated();
     dataContext.Database.Migrate();
 }