Class MappingDocument
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Business.Mapping
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0Syntax
public class MappingDocument : Collection<MappingElement>, IChangeTracking, IXmlSerializable
Constructors
MappingDocument()
Declaration
public MappingDocument()
Fields
TagName
Declaration
public static string TagName
Field Value
Type | Description |
---|---|
System.String |
Methods
GetXml(MappingDocument)
Saves to XML.
Declaration
public static string GetXml(MappingDocument mapDoc)
Parameters
Type | Name | Description |
---|---|---|
MappingDocument | mapDoc | The map doc. |
Returns
Type | Description |
---|---|
System.String |
LoadFromFile(String)
Loads from file.
Declaration
public static MappingDocument LoadFromFile(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
Returns
Type | Description |
---|---|
MappingDocument |
LoadFromXml(String)
Loads from XML.
Declaration
public static MappingDocument LoadFromXml(string srcXml)
Parameters
Type | Name | Description |
---|---|---|
System.String | srcXml | The SRC XML. |
Returns
Type | Description |
---|---|
MappingDocument |
SaveToFile(String, MappingDocument)
Saves to file.
Declaration
public static void SaveToFile(string path, MappingDocument mapDoc)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
MappingDocument | mapDoc | The map doc. |
Implements
System.Xml.Serialization.IXmlSerializable