Mapping TimeZoneInfo Class #448
-
Dear Support, I have problems with mapping. In class i'm using timezoneinfo property, but when i mapping i have errors. Example:
I'm trying to use mapping of TimeZoneInfo class. but i have to added to all properties virtual |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm use workaround, store TimeZoneInfoID to db, and class property TimeZoneInfo returns TimeZoneInfo.FindSystemTimeZoneById(TimeZoneInfoID) |
Beta Was this translation helpful? Give feedback.
-
You would need to implement IUserType. Check this SO question: https://stackoverflow.com/q/1565056/259946 |
Beta Was this translation helpful? Give feedback.
You would need to implement IUserType. Check this SO question: https://stackoverflow.com/q/1565056/259946