Add messages to obsolete specs for clarity #23
Annotations
10 warnings
build:
Specification.EntityFramework6/tests/Ardalis.Specification.EntityFramework6.IntegrationTests/RepositoryOfT_GetBySpec.cs#L29
'RepositoryBase<Store>.GetBySpecAsync(ISpecification<Store>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L44
'RepositoryBase<Store>.GetBySpecAsync(ISpecification<Store>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L57
'RepositoryBase<Store>.GetBySpecAsync(ISpecification<Store>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L70
'RepositoryBase<Store>.GetBySpecAsync(ISpecification<Store>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L84
'RepositoryBase<Store>.GetBySpecAsync(ISpecification<Store>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L97
'RepositoryBase<Company>.GetBySpecAsync(ISpecification<Company>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L111
'RepositoryBase<Company>.GetBySpecAsync(ISpecification<Company>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L127
'RepositoryBase<Company>.GetBySpecAsync(ISpecification<Company>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFrameworkCore/tests/Ardalis.Specification.EntityFrameworkCore.IntegrationTests/RepositoryOfT_GetBySpec.cs#L140
'RepositoryBase<Store>.GetBySpecAsync(ISpecification<Store>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|
build:
Specification.EntityFramework6/tests/Ardalis.Specification.EntityFramework6.IntegrationTests/RepositoryOfT_GetBySpec.cs#L42
'RepositoryBase<Store>.GetBySpecAsync(ISpecification<Store>, CancellationToken)' is obsolete: 'Use FirstOrDefaultAsync<T> or SingleOrDefaultAsync<T> instead. The SingleOrDefaultAsync<T> can be applied only to SingleResultSpecification<T> specifications.'
|