Using Logical Names when loading and saving XML
public void SaveXml(OrderPoco o, string fileName)
{
- using (var sw = new StreamWriter(fileName))
using (var sw = new StreamWriter(ENV.PathDecoder.DecodePath(fileName)))
{
new XmlSerializer(typeof(OrderPoco)).Serialize(sw, o);
}
}
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com