scraping => api transition almost complete
This commit is contained in:
parent
df889a60a4
commit
591d84e719
41 changed files with 995 additions and 2494 deletions
|
|
@ -11,7 +11,7 @@ namespace DataLayer
|
|||
using var context = LibationContext.Create();
|
||||
return context
|
||||
.Library
|
||||
.AsNoTracking()
|
||||
//.AsNoTracking()
|
||||
.GetLibrary()
|
||||
.ToList();
|
||||
}
|
||||
|
|
@ -21,8 +21,8 @@ namespace DataLayer
|
|||
using var context = LibationContext.Create();
|
||||
return context
|
||||
.Library
|
||||
.AsNoTracking()
|
||||
.GetLibraryBook(productId);
|
||||
//.AsNoTracking()
|
||||
.GetLibraryBook(productId);
|
||||
}
|
||||
|
||||
/// <summary>This is still IQueryable. YOU MUST CALL ToList() YOURSELF</summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue