I have a scenario where if certain features are deployed then a number of columns will be there in some tables otherwise won't so the mapping of Entities and Columns is not static. I need to add/remove the mapping at runtime. Is there any way?
I have a scenario where if certain features are deployed then a number of columns will be there in some tables otherwise won't so the mapping of Entities and Columns is not static. I need to add/remove the mapping at runtime. Is there any way?
Prepare a new
MappingSchemaand pass toDataConnectionconstructor.Consider you have the following class:
To remove column from full object materialization, do the following:
Remember, better to cache this new
MappingSchemaand reuse. Otherwise you will never have cache hit and you'll lose performance.