Hello, all
I would like to understand what is the best solution , if I would like to serialize/ de-serialize class to multiple XML files according to specific attribute
For example , I have class with two properties and need to serialize them into two separate xml files . And the opposite direction (deserialize).Save & Load from files
public class Student{
[SerializeTo(Path= "address.xml")]
public Address Address {get; set;}
[SerializeTo(Path= "grades.xml")]
public List<Grade> Grades {get; set;}
}
Is there any existing solution to such question ...
Very appreciate any help ,
Thanks,
Dima
What I have tried:
I tried to serialize object to single XML file , but it not exactly what I want , I need to split it to different XML files