locked
How to map database scalar and table value function with EF code first RRS feed

  • Question

  • looking for a example like how to map database scalar and table value function with EF code first. please give me a example code. i got a link https://github.com/moozzyk/CodeFirstFunctions
    • Edited by Sudip_inn Monday, October 9, 2017 12:32 PM
    Monday, October 9, 2017 12:23 PM

Answers

  • Hi,

    To use scalar value function and table value function on Entity Framework, you can use open source library:  EntityFramework.Functions, you can install it through Nuget.

    You can see Examples on below article:

    EntityFramework.Functions: Code First Functions for Entity Framework

    Best Regards,

    Bob


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Sudip_inn Wednesday, November 1, 2017 8:41 AM
    Tuesday, October 10, 2017 12:49 PM