We have issue with the use of IncludeProperties, because in our project we have SqlServer and PostgreSql.
The error is also mentioned in efcore.pg team.
npgsql/efcore.pg#1334
The call is ambiguous between the following methods or properties:
'Microsoft.EntityFrameworkCore.SqlServerIndexBuilderExtensions.IncludeProperties<TEntity>
(Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity>, System.Linq.Expressions.Expression<System.Func<TEntity, object>>)'
and
'Microsoft.EntityFrameworkCore.NpgsqlIndexBuilderExtensions.IncludeProperties<TEntity>
(Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity>, System.Linq.Expressions.Expression<System.Func<TEntity, object>>)'
We think that there should be more specific guidelines for ef core providers authors, about the namespaces they should use so this issues like this one wan't occurred.