We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This will load a reference property.
IRepository:
IRepository
void LoadProperty(TEntity item, Expression<Func<TEntity, object>> property);
IRepositoryAsync:
IRepositoryAsync
Task LoadProperty(TEntity item, Expression<Func<TEntity, object>> property);
Repository (.NET Core implementation -- will be different for EF 6.x):
Repository
public void LoadProperty(PlexApp item, Expression<Func<PlexApp, object>> property) => _context.Entry(item).Reference(property).Load(); public async Task LoadProperty(PlexApp item, Expression<Func<PlexApp, object>> property) => await _context.Entry(item).Reference(property).LoadAsync();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This will load a reference property.
IRepository
:IRepositoryAsync
:Repository
(.NET Core implementation -- will be different for EF 6.x):The text was updated successfully, but these errors were encountered: