Replies: 1 comment 1 reply
-
That is correct. The properties will not get automatically serialized if you don't use PropertyInfo. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are starting the process to rewrite an application from CSLA 3.8 to 6 and wanted to understand what best practice and any ramifications of using auto property declarations vs property info objects in a readonly business object (think lists and some objects that hold settings/options that are held within editable objects).
A large amount of our objects has a very simple definition of Id, Code, Description, Active and we have overtime used different patterns of using code like this:
and sometimes just using code like this:
We have historically only ever used a local dataportal calls, talking directly to the database from the client application. We intend to continue doing this for now but want to ensure that if we need to introduce an application server our coding pattern doesn't cause any issues. I'm not sure if based on comments left in #2448 that we would be responsible for the serialization of these auto implemented properties.
Thanks for any feedback.
Marjon
Beta Was this translation helpful? Give feedback.
All reactions