I have a .NET C# solution with an edmx model in version of Entity Framework 5.0.
I need to import a created postgre function to model, but i did not find any totorial or detailed documentation for this.
I found only that, but i do not want to store the exact sql in the model:
http://blog.devart.com/model-defined-fu ... loper.html
But, I tried to create method like this, the function is generated in the edml file, but the C# EdmFunction is not generated. I tried to create the function manually, but the queryprovider in the DbContext is unknown property.
Is the edmx and edml file is equivalent and no need to include both files to project?
Can i ask a sample .net project?
Thanks in advance!
Import postre function to model
Re: Import postre function to model
I think that not all my questions was covered in the other post.
http://blog.devart.com/model-defined-fu ... loper.html
But, I tried to create method like this, the function is generated in the edml file, but the C# EdmFunction is not generated. I tried to create the function manually, but the queryprovider in the DbContext is unknown property."
Thanks in advance!"Can i ask a sample .net project?"