remove schema from linq datacontexts
Posted
by Jeremy
on Stack Overflow
See other posts from Stack Overflow
or by Jeremy
Published on 2010-04-23T16:27:51Z
Indexed on
2010/04/23
16:33 UTC
Read the original article
Hit count: 298
LINQ
|data-context
When I add stored procedures to a linq datacontext, by default visual studio prefixes the stored procedure with the sql schema that it is in. Is there any way to stop this? In our environment, the stored procedures may be moved to other schemas over time, and we will default the schema based on the sql user used to connect. Do I have to do this manually or can I somehow turn off the schema prefixes?
© Stack Overflow or respective owner