views:

40

answers:

1

How can I run a prepared statement against a database and have the returned rows automatically attach to the entity framework data context? Essentially, how can I achieve the same functionality of ObjectContext.Execute except using a prepared SQL command.

+2  A: 

Use ObjectContext.Translate.

Craig Stuntz