Represents an XML schema of a data source.

System.Object
  Docentric.Documents.Reporting.TemplateManagement.Metadata.SchemaBase
    Docentric.Documents.Reporting.TemplateManagement.Metadata.Xml.Schema

Namespace: Docentric.Documents.Reporting.TemplateManagement.Metadata.Xml
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public class Schema : SchemaBase

The Schema type exposes the following members.

Name Description
Public member Origin Gets the value that indicates how the schema was created.
Public member SourceFilePath Gets or sets the path (absolute or relative) of the sample XML or XSD file that was used to create this schema.
Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object)
Public methodStatic member FromSampleXml(String, XElement) Creates an XML Schema object by infering the schema information from the given sample XML.
Public methodStatic member FromSampleXml(XElement) Creates an XML Schema object by infering the schema information from the given sample XML.
Public methodStatic member FromSampleXml(String, Stream) Creates an XML Schema object by infering the schema information from the given sample XML.
Public methodStatic member FromSampleXml(Stream) Creates an XML Schema object by infering the schema information from the given sample XML.
Public methodStatic member FromXsd(String, Stream, Stream[]) Creates an XML Schema object by providing the XSD document and any referenced XSDs.
Public methodStatic member FromXsd(Stream, Stream[]) Creates an XML Schema object by providing the XSD document and any referenced XSDs.
Public methodStatic member FromXsd(String, XElement, XElement[]) Creates an XML Schema object by providing the XSD document and any referenced XSDs.
Public methodStatic member FromXsd(XElement, XElement[]) Creates an XML Schema object by providing the XSD document and any referenced XSDs.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method ToString Returns a String that represents the current Object. (Inherited from Object)