Replies: 1 comment 2 replies
-
This is not a known issue. I suspect that the writer(s) and readers in |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
I am in the process of upgrading a large business object library from Csla 4 to Csla 6.2.2 while at the same time moving from .Net Framework 4.7.2 to .Net Standard 2.0. One issue that I am having is DateTime properties are losing the DateTime.Kind when deserialized. In the example below I have a simple ReadOnly csla object with a nullable Datetime and I am serializing/deserializing with the MobileFormatter directly just for test purposes. You can see that after deserialization the Kind value is Unspecified. Is this a known issue?
ID = ba5ddc50-75ea-4b7d-b656-7fc12faab73e
TestDate = 6/2/2023 8:59:27 AM
DateTime Kind = Local
ID = ba5ddc50-75ea-4b7d-b656-7fc12faab73e
TestDate = 6/2/2023 8:59:27 AM
DateTime Kind = Unspecified
Thanks
Beta Was this translation helpful? Give feedback.
All reactions