verdie-g / StoredProcedureEFCore

Entity Framework Core extension to execute stored procedures
MIT License
192 stars 44 forks source link

Use DbDataReader.GetValue overloads to avoid boxing #20

Closed verdie-g closed 4 years ago

verdie-g commented 4 years ago

The generated setter is an Action<object, object> so boxing can't be avoided. https://github.com/verdie-g/StoredProcedureEFCore/blob/759d109549684bf44cc8dee0688bf49b6c7f05ed/StoredProcedureEFCore/Mapper.cs#L143