Stored Procs cannot be Private?
Posted: Mon 09 Jul 2012 16:51
I am having problems with the auto generated code for stored procedures using the Entity Developer modeler.
If I add a stored procedure from a Package and create a Method with the Entity Developer tool, I cannot declare the function as PRIVATE because it always inserts VIRTUAL regardless of whether I choose 'None' as the Inheritance Modifier.
Basically, I need to wrap my stored proc because I want to perform another translation before exposing it on the ObjectContext.
Thoughts? Suggestions? I cannot get rid of the Virtual inheritance modifier and don't want to expose both functions for encapsulation's sake.
If I add a stored procedure from a Package and create a Method with the Entity Developer tool, I cannot declare the function as PRIVATE because it always inserts VIRTUAL regardless of whether I choose 'None' as the Inheritance Modifier.
Basically, I need to wrap my stored proc because I want to perform another translation before exposing it on the ObjectContext.
Thoughts? Suggestions? I cannot get rid of the Virtual inheritance modifier and don't want to expose both functions for encapsulation's sake.