c# - Entity Framework 4.0 Function Import - Why does it not show up as a method in my object context? -


i have stored procedure i've mapped in entity framework model (trying first one), , i've specified function import. stored procedure returns data set result, mapped complex type in function import. i'm using vs.net 2010.

i think i've done of typical stuff required, i.e. http://msdn.microsoft.com/en-us/library/bb896231.aspx. there no model errors either.

is there else need in order able call function import? has else had similar issue they've created function import returns complex type, yet didn't show callable function objectcontext? if not, there may recommend in order further investigate?

edit: i'm executing stored procedures directly entity framework direct execution method, http://msdn.microsoft.com/en-us/library/ee358758.aspx. nice part still auto-maps complex types me. although love use function import approach...

thanks

it not show method on objectcontext on derived generated class. if using objectcontext directly must call function import using executefunction.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -