Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class MetaModelGenerator

Represents xml generator of meta-model.

Inheritance
System.Object
MetaModelGenerator
Namespace: Mediachase.BusinessFoundation.Data.Meta.Schema
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
Syntax
public class MetaModelGenerator : Object
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()