snickler / EFCore-FluentStoredProcedure

EFCore Extension that allows a means to map a stored procedure to a class, fluently.
MIT License
178 stars 34 forks source link

Not working with Postgres #10

Open chriswarr opened 6 years ago

chriswarr commented 6 years ago

When using with a postgres sql database a 'not supported' exception is thrown by the call to GetColumnSchema.

var colMapping = dr.GetColumnSchema()
                    .Where(x => props.Any(y => y.Name.ToLower() == x.ColumnName.ToLower()))
                    .ToDictionary(key => key.ColumnName.ToLower());