Class MetaModelGenerator
Represents xml generator of meta-model.
Inheritance
System.Object
MetaModelGenerator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta.Schema
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 12.17.2Syntax
public class MetaModelGenerator
Remarks
The MetaModelGenerator class expors meta model to xml format.
Constructors
MetaModelGenerator()
Initializes a new instance of the MetaModelGenerator class.
Declaration
public MetaModelGenerator()
MetaModelGenerator(SchemaDocument)
Initializes a new instance of the MetaModelGenerator class.
Declaration
public MetaModelGenerator(SchemaDocument schema)
Parameters
Type | Name | Description |
---|---|---|
SchemaDocument | schema | The schema. |
Properties
AccessLevel
Gets or sets the output level.
Declaration
public AccessLevel AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
AccessLevel | The output level. |
Schema
Gets or sets the schema.
Declaration
public SchemaDocument Schema { get; set; }
Property Value
Type | Description |
---|---|
SchemaDocument | The schema. |
SelectedElements
Gets or sets the selected elements.
Declaration
public SelectedElementCollection SelectedElements { get; set; }
Property Value
Type | Description |
---|---|
SelectedElementCollection | The selected elements. |
Methods
Generate()
Generates the xml presentation of meta-model with specified selected elements.
Declaration
public XmlDocument Generate()
Returns
Type | Description |
---|---|
System.Xml.XmlDocument |
Remarks
The selectedElements item should be formated "[ContainerName]::[Name]". Example: "MetaClass::Project", "MetaClass::*". If selectedElements is empty collection, returns all elements.
InitilizeGenerator()
Declaration
protected virtual void InitilizeGenerator()