Csla Property w/ AOP?

Csla Property w/ AOP?

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


xAvailx posted on Sunday, February 07, 2010

Rocky or anyone else:

As I read more about AOP, I wonder if it could be used in csla to reduce the property declaration verbosity by injecting the necessary code for a property via an attribute? Wouldn't it be great to have something like this?

[CslaProperty]
public string FirstName {get; set;}

Some food for thought for those out there much smarter than me ;)

http://www.postsharp.org/

 

Copyright (c) Marimer LLC