locked
custom CRUD methods with LINQ to Entities and Dynamic Data RRS feed

  • Question

  • User-1390135866 posted

    Hi yall.

    If I wanted to implement custom business logic using LINQ to SQL I could write a custom entity class and make a partial method over the native methods.

    I'm wondering if I can do the same using Dynamic Data registering a LINQ to Entities data model?

    Thanks in advance!
     

    Wednesday, August 20, 2008 12:07 AM

Answers

  • User660823006 posted

    The Entity Framework ObjectModel supports the same type of partial class extensions that the Linq to SQL model supports. Just create a Entity Framework model and open up the .cs/.vb designer file and you will see all the classes are marked as partial so you can extend them.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 20, 2008 12:04 PM