In our current project we have multiple items that we save to the DDS, for example (only showing the important part):
public DateTime DatePurchased { get; set; }
public DateTime? LoanEndDate { get; set; }
public DateTime? DateDeleted { get; set; }
These have ben stored in namespace A so far - And in the big table these have been DateTime01, DateTIme02, DateTime03.
After a restructuring of the code the class is now stored in namespace B.
Now the properties are stored in DateTime03, DateTime02, DateTime01
Which means that if I search for "DateDeleted" it will look in DateTime01 when in fact it should be looking in DateTime03 (for the old namespace) and DateTime01 for the new namespace.
My class wasn't decorated when in namespace A, but when we moved namespace we used this to remap the store.
But it apparently didn't work on the properties of the class.
Does anyone have a suggestion to what I should try? I read that there exist a "remap" on property level but I am not sure how to use it. (oldname vs newname - Since I haven't renamed it).
Hi,
In our current project we have multiple items that we save to the DDS, for example (only showing the important part):
These have ben stored in namespace A so far - And in the big table these have been DateTime01, DateTIme02, DateTime03.
After a restructuring of the code the class is now stored in namespace B.
Now the properties are stored in DateTime03, DateTime02, DateTime01
Which means that if I search for "DateDeleted" it will look in DateTime01 when in fact it should be looking in DateTime03 (for the old namespace) and DateTime01 for the new namespace.
I have decorated my class with the following:
My class wasn't decorated when in namespace A, but when we moved namespace we used this to remap the store.
But it apparently didn't work on the properties of the class.
Does anyone have a suggestion to what I should try? I read that there exist a "remap" on property level but I am not sure how to use it. (oldname vs newname - Since I haven't renamed it).
Any help is appreciated.
/Mads