Sunday, 15 May 2011

entity framework - Mysql EF Stored Procedure, did not generate C# part -


I have mysql database with a store process when I add it to the schema, so I found it in edmx:

  & lt; Function Name = "abzac_GetByPage" Overall = "Wrong" BuiltIn = "false" NiladicFunction = "false" IsComposable = "false" parameter TypeSememetics = "Allow Approval" Schema = "Paragraph" />  

This is in my SSDL portion. But there is nothing in the Designer.cs file, what's wrong?

You should import the function (just right click Import the function and function in the store part of the model Select ...)
But if you are using EF v1.0 then the function will be imported only when the function returns the result set. This limit is not included in the upcoming EF v4.


No comments:

Post a Comment