Tuesday, April 10, 2012

Static Entity Class

  • The class is not an instance class, so we don't do anything like wrap each list field with a property. This might not be as convenient for the caller, but means we don't have to worry about whether the data item is 'dirty'


Above indicates one use of leaving the model entity as static, at least in SharePoint...

http://www.sharepointnutsandbolts.com/2008/11/simple-data-access-pattern-for.html

No comments:

Post a Comment