Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ole"

Thank you for replying. After rebooting my PC it is working. I am using the SPA.

-ole

I did use SQL directly in one of my repository classes.

public List<ValueDto> GetAll(int id) {

        var ret = Context.Database.SqlQuery&lt;ValueDto&gt;("&lt;SQL returning a result set&gt;").ToList();
        return ret;
    }

The SQL may be a SELECT or an excec of a stored procedure. Entity Framework will try to map the result set to the ValueDto class. Context is defined in the base Abp.EntityFramework.Repositories

-ole

Showing 1 to 2 of 2 entries