Hi,
I noticed that although the Entity Framework documentation suggests you can use an Entity type as input to an MDF, the entity designer surface doesn't allow anything other .net Types.
Can you address this?
Thanks
Randy
Can't use Entity Type as parameter to Model-Defined Function
Re: Can't use Entity Type as parameter to Model-Defined Function
This is where it gets really bad:
CSDL parsing failed: The attribute 'Type' of tag 'Parameter' has an unexpected value 'ThreeDEntities.AWARD_T' at line #3661.
Warning! The error means that a part of the model cannot be read. If you save model after this, the unrecognized XML will be lost. It is strongly recommended to create a backup copy of the model to be able to restore it to the original state if needed.
So, yeah...I can go in and fix the EDML manually because I know that EF supports Entity Parameters, but I am risking data loss in the designer.
CSDL parsing failed: The attribute 'Type' of tag 'Parameter' has an unexpected value 'ThreeDEntities.AWARD_T' at line #3661.
Warning! The error means that a part of the model cannot be read. If you save model after this, the unrecognized XML will be lost. It is strongly recommended to create a backup copy of the model to be able to restore it to the original state if needed.
So, yeah...I can go in and fix the EDML manually because I know that EF supports Entity Parameters, but I am risking data loss in the designer.
Re: Can't use Entity Type as parameter to Model-Defined Function
Currently it is not supported and we can't tell you any timeframe regarding this functionality at the moment.rmagruder wrote:I noticed that although the Entity Framework documentation suggests you can use an Entity type as input to an MDF, the entity designer surface doesn't allow anything other .net Types.
We will investigate the possibility of using entity for an input parameter and notify you about the result as soon as possible.
Please post your suggestion at http://devart.uservoice.com/forums/3867 ... -developer.
Re: Can't use Entity Type as parameter to Model-Defined Function
I have done as you advise.
Disappointing news for sure, as I always considered DevArt to be everything Entity Framework is and more. And in this case, it appears it is less, in that a documented feature of EF is not supported by DevArt
Please strongly consider adding this if it isn't too much trouble.
Disappointing news for sure, as I always considered DevArt to be everything Entity Framework is and more. And in this case, it appears it is less, in that a documented feature of EF is not supported by DevArt

Please strongly consider adding this if it isn't too much trouble.
Re: Can't use Entity Type as parameter to Model-Defined Function
Thank you for posting the suggestion. We will consider the possibility of adding this feature and notify you about the results as soon as any are available.