-
Notifications
You must be signed in to change notification settings - Fork 16
Storing SchemaMapper information into XML
Hadi edited this page Mar 4, 2019
·
1 revision
To prevent repeating your work, you can save the SchemaMapper
class into an XML file using the following method:
smPasswords.WriteToXml(Environment.CurrentDirectory + "\\SchemaMapper\\1.xml");
When you need it, you can create a new SchemaMapper
class based on the XML file:
SchemaMapper smPasswords = new SchemaMapper(Environment.CurrentDirectory + "\\SchemaMapper\\1.xml");
Or you can load it into an existing SchemaMapper
class:
smPassword.ReadFromXML(Environment.CurrentDirectory + "\\SchemaMapper\\1.xml");