Specifically, which templates are you referring to?
RJ
Remco,
The DateTime properties are intended to be used for sorting when bind into control such as datagrid. The set accessor is available through string properties. Through this property, you can assign empty date.
Ricky
You should be able to bind to a Smartdate with no problems -- this is a common requirement.
RJ
RJ,
Since SmartDate is now a value type (struct), it should be safe to expose a property as SmartDate. In Csla 1.x, you'll run into problem where user can do SmartdateProperty.Date = newDateValue and avoid the code inside the set accessor.
However, I don't know how well third party control dealing with SmartDate. I think a good one will work just fine.
Ricky
If the property does not allow empty date value, then adding set accessor would work just fine.
But then if you don't allow empty date, you should just use DateTime instead of SmartDate.
Ricky
Copyright (c) Marimer LLC