So I have a customer requirement to only use stored procedures for all database operations. I created CRUD stored procedures for each of my tables, and then created my Entity models.
So I see easily how to map my Insert, Update and Delete stored procedures to my entity (Customer for example), but there seems to be no way to map my Select? This is just a plain old select, it should just return a list of my Customer entities- so it maps directly to my Entity type, it is not custom. It seems the only way to do this is to import a function and map that instead.
So why no ability to map Select directly? There would be huge advantages for me to do this!
Maybe my stored procedure isn't suitable somehow?
Anyone have any ideas?