You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the #6809 I changed all the usages in this (abp) repository except the following modules:
blogging
docs
cms-kit
Please update all usages. Typically, you need to fix Obsolete warnings, but I suggest to check all the code touches to database. We normally don't use IRepository's IQueryable features, but we might be used implicitly in the repository.
The idea is not to write LINQ directly over the repository instance, but use GetQueryableAsync. Inside the repositories, I changed DbContext property to GetDbContextAsync() method, DbSet property to GetDbSetAsync() and so on. You can check the implementation of the Identity module as a reference.
For the #6809 I changed all the usages in this (abp) repository except the following modules:
Please update all usages. Typically, you need to fix Obsolete warnings, but I suggest to check all the code touches to database. We normally don't use IRepository's IQueryable features, but we might be used implicitly in the repository.
The idea is not to write LINQ directly over the repository instance, but use GetQueryableAsync. Inside the repositories, I changed
DbContext
property toGetDbContextAsync()
method,DbSet
property toGetDbSetAsync()
and so on. You can check the implementation of the Identity module as a reference.I will merge #6809 today, then you can start ;)
The text was updated successfully, but these errors were encountered: