-3

Can you please list references for articles that demonstrates the following two, using LINQ to SQL?

  1. “Active Record” Pattern
  2. “Unit Of Work” Pattern

When I search for them, I am getting most of the examples clubbed with Asp.Net MVC. I don’t need MVC. I am looking for a code implementation (in LINQ to SQL) which demonstrates these two patterns.

LCJ
  • 22,196
  • 67
  • 260
  • 418

1 Answers1

0

I think you'll struggle to find references to such an idea.

To a certain extent, the LINQ to SQL is already implementing these patterns behind the scenes. Therefore, I'm not sure there's much benefit to be gained from layering the additional behavior on top.

Do you have any more detail of what you're trying to achieve that might facilitate a more useful answer?

David Osborne
  • 6,436
  • 1
  • 21
  • 35
  • 1
    Take a look at the conceptual overviews for each pattern: http://martinfowler.com/eaaCatalog/unitOfWork.html http://martinfowler.com/eaaCatalog/activeRecord.html These might help you to work out what you're trying to achieve conceptually. – David Osborne Jun 29 '12 at 10:04