none
Is there any way to define model defined function when using code first?

    Question

  • Hello,

    is there any way to define model defined function (reusable code used in linq-to-entities queries) when using DbContext API without EDMX (code-first)? I just want to confirm my doubts that there is no way.

    Best regards,
    Ladislav

    Friday, May 27, 2011 2:57 PM

Answers

  • Hi Ladislav,

    Welcome!

    Thanks for your enthusiastic help and active participation in MSDN forum. I think there is no way to define model defined function in currently version of EF4.1, thanks for understanding.

    Have a nice day.

     


    Alan Chen[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, May 30, 2011 8:33 AM