views:

11

answers:

0

Is there a way to do with stored procedures what you can do with GetTable?

For example, you can do:

var results = GetTable<Client>().Where() // etc

Can we do that with Sprocs?

I'm trying to avoid the terrible result of using code generation to have strongly typed sproc names. This doesn't adhere very well to persistence patterns nor unit testing.

Thanks.