StoredProcedureEFCore
StoredProcedureEFCore copied to clipboard
Entity Framework Core extension to execute stored procedures
How can I make this function generic : return Context.LoadStoredProc("dbo.ListAll") .AddParam("limit", 300L) .AddParam("limitOut", out IOutParam limitOut) .Exec(r => rows = r.ToListAsync());
Hi! I have a model with a member declared as nullable enum (QuitMode) and the corresponding column in the database is declared as nullable int. When I call ToListAsync I'm...
When I call a store procedure with a geography column in EF Core i'm getting the error. Model: public Geometry Coordenates { get; set; } g.db.LoadStoredProc("dbo.spGetCoordenates").AddParam("UsuarioId", c.Id).Exec(r => uDatoExtraModel =...
I'm using ASP.NET Boilerplate (ABP) for a project and would like to use StoredProcedureEFCore with it, but since ABP has its own system for managing transactions I want to be...
Calling procedure returning data SELECT 1 AS [id_pc] will always return id_pc = 0, because this line of code https://github.com/verdie-g/StoredProcedureEFCore/blob/7e49240a871f8fd6eea6408c8784a446ef7d1b17/StoredProcedureEFCore/Mapper.cs#L127 modifies id_pc name to idpc which skips the mapping in...