CSLA 4.x is DataObjectField redundant?

CSLA 4.x is DataObjectField redundant?

Old forum URL: forums.lhotka.net/forums/t/9983.aspx


JCardina posted on Tuesday, January 25, 2011

I noticed in the 2008 book it's used in the sample for the very first class built (Project) but the v4 sample project tracker doesn't use DataObjectField anywhere and I can find no mention of it in the change list.

 

 

RockfordLhotka replied on Wednesday, January 26, 2011

The DataObjectField attribute applies only to ASP.NET Web Forms, and even there its utility is limited. If you are building a Web Forms UI you might still use this attribute if you find it helpful.

Since Web Forms is now just one of many UI types I've stopped putting that attribute into my samples, as it just causes confusion and clutter for most people.

JCardina replied on Wednesday, January 26, 2011

Thank you!

Copyright (c) Marimer LLC