refactor : cleaner the code #14
Annotations
10 warnings
GenericRepository/Repository/GenericRepository/Query/QueryGenericRepository.Async.cs#L20
Nullability of reference types in type of parameter 'query' of 'Task<long> QueryGenericRepository<T>.GetCountAsync(Expression<Func<T, bool>> query = null)' doesn't match implicitly implemented member 'Task<long> IQueryGenericRepository<T>.GetCountAsync(Expression<Func<T, bool>>? query = null)' (possibly because of nullability attributes).
|
GenericRepository/Repository/GenericRepository/Query/QueryGenericRepository.Async.cs#L20
Cannot convert null literal to non-nullable reference type.
|
GenericRepository/Data/CommandContext.cs#L11
Nullability of reference types in type of parameter 'sender' of 'void CommandContext.TrackChanges(object sender, EntityEntryEventArgs e)' doesn't match the target delegate 'EventHandler<EntityStateChangedEventArgs>' (possibly because of nullability attributes).
|
GenericRepository/Data/CommandContext.cs#L12
Nullability of reference types in type of parameter 'sender' of 'void CommandContext.TrackChanges(object sender, EntityEntryEventArgs e)' doesn't match the target delegate 'EventHandler<EntityTrackedEventArgs>' (possibly because of nullability attributes).
|
GenericRepository/Repository/GenericRepository/Command/Repository.Async.cs#L40
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
GenericRepository/Repository/GenericRepository/Command/Repository.Async.cs#L47
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
GenericRepository/Repository/GenericRepository/Command/Repository.Async.cs#L49
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
GenericRepository/Repository/GenericRepository/Command/Repository.Async.cs#L53
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
GenericRepository/Repository/GenericRepository/Command/Repository.Async.cs#L58
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
GenericRepository/Repository/GenericRepository/Command/Repository.Sync.cs#L27
Converting null literal or possible null value to non-nullable type.
|
The logs for this run have expired and are no longer available.
Loading