iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello Crosslight Support,
I am using Crosslight SQLite. I created a model class which derives from EntityBase. I have several properties in this class but some of these properties should not be mapped to the database. They are only used in the UI for display. So I added the [NotMapped] attribute to these properties. Unfortunately, this does not seem to work. Properties marked with the [NotMapped] attribute are stored in the database, too. I checked this with "GetTableInfo()". [NotMapped] properties are real table columns.
Is this a bug or do I understand the [NotMapped] property wrong?
How can I achieve the behaviour I need?
I tested on Android with the latest stable versions.
Thanks for clarifying.
Thomas
Sory for the delay in sending this.
Per my test, [IgnoreDataMember] attribute can be used to achieve your scenario. When applied to the member of a type, specifies that the member is not part of a data contract and is not serialized.
Hope this helps.
This one is still not answered.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname