Class SchemaItem

Namespace
DbExport.Schema
Assembly
DbExport.Api.dll

Represents a base class for all schema items.

public abstract class SchemaItem : IVisitorAcceptor
Inheritance
SchemaItem
Implements
Derived
Inherited Members

Constructors

SchemaItem(SchemaItem, string)

Initializes a new instance of the SchemaItem class.

protected SchemaItem(SchemaItem parent, string name)

Parameters

parent SchemaItem

A reference to the parent schema item.

name string

The name of the schema item. Should not be null or whitespace.

Properties

FullName

Gets the fully qualified name of the schema item, which may include the owner or other contextual information, depending on the implementation of the derived class.

public virtual string FullName { get; }

Property Value

string

Name

Gets the name of the schema item.

public string Name { get; }

Property Value

string

Parent

Gets a reference to the parent schema item.

public SchemaItem Parent { get; }

Property Value

SchemaItem

Methods

AcceptVisitor(IVisitor)

Accepts a visitor, allowing it to perform operations on the implementing class. The visitor will typically have specific methods for handling different types of elements in the object structure.

public abstract void AcceptVisitor(IVisitor visitor)

Parameters

visitor IVisitor

The visitor instance that will perform operations on the implementing class.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.