Class AstRootNode
AstRootNode serves as the root of the entire project tree. Anything that can be defined in a Biml project must be a descendant of the AstRootNode, and all constructs in the project can be reached by following a path through the child properties starting at the AstRootNode.
Namespace: Varigence.Languages.Biml
Assembly: Biml.dll
public class AstRootNode : AstNode, IBindableItem, IVulcanCollectionParent, IVulcanNotifyPropertyChanged, IPropertyChangeNotificationTarget, IGetJsonProvider, IDataflowItem, IRootItem, ISymbolTableProvider, IFrameworkItem, INotifyPropertyChanged, IXObjectMappingProvider, IValidationInfo, IDataErrorInfo
- Inheritance
Implements
IBindableItem, Varigence.Utility.Collections.IVulcanCollectionParent, Varigence.Utility.ComponentModel.IVulcanNotifyPropertyChanged, Varigence.Utility.ComponentModel.IPropertyChangeNotificationTarget, IGetJsonProvider, IDataflowItem, IRootItem, ISymbolTableProvider, IFrameworkItem, System.ComponentModel.INotifyPropertyChanged, Varigence.Utility.Xml.IXObjectMappingProvider, IValidationInfo, System.ComponentModel.IDataErrorInfo,
Constructors
Name | Description |
---|---|
AstRootNode(IFrameworkItem) | Initializes a new instance of the AstRootNode class with the specified parent node. |
Properties
Name | Description |
---|---|
AdoNetConnections | Gets a collection of all AstAdoNetConnectionNode objects contained in the Connections property for this root node |
BuildSettings | Gets a collection of all root-level items contained by this root node |
CanAutoLayoutMoveSinkAnchors | Gets a value to indicate whether autolayout is permitted to rearrange sink anchors on the design surface to reduce edge overlapping |
CanAutoLayoutMoveSourceAnchors | Gets a value to indicate whether autolayout is permitted to rearrange source anchors on the design surface to reduce edge overlapping |
Connections | This is a collection of all connection definitions in the project. |
CubeProjects | Gets a collection of all AstCubeProjectNode objects contained in the Projects property for this root node |
Cubes | This is a collection of all SQL Server Analysis Services (SSAS) cube definitions in the project. |
Databases | This is a collection of all database definitions in the project. |
DataFactories | This is a collection of all Azure Data Factory linked service, dataset, and pipeline objects in the project. |
DbConnections | Gets a collection of all AstDbConnectionNode objects contained in the Connections property for this root node |
Dimensions | Gets a collection of all AstDimensionMetadataNode objects contained in the all Tables for this root node |
FileFormats | This is a collection of all file format definitions in the project. |
FlatFileFormats | Gets a collection of all AstFlatFileFormatNode objects contained in the FileFormats property for this root node |
FriendlyTypeName | Gets the friendly name of the type of this node |
FriendlyTypeNameStatic | Gets the friendly name of the type of this node |
GlobalBuildSettings | Gets a collection of all root-level items contained by this root node |
Items | Gets a collection of all root-level items contained by this root node |
MeasureGroups | Gets a collection of all AstMeasureGroupMetadataNode objects contained in the all Tables for this root node |
Metadata | Defines the collection of offline metadata contaiers associated with this Biml project These containers can be used to store query and table column type information which can then be used to perform builds without needing to connect to the live data sources. |
MetadataInstances | Gets a collection of all AstMetadataInstanceNode objects contained in the Metadata collection for this root node |
MetadataModels | Gets a collection of all AstMetadataModelNode objects contained in the Metadata collection for this root node |
OdbcConnections | Gets a collection of all AstOdbcConnectionNode objects contained in the Connections property for this root node |
OfflineSchemas | Gets a collection of all AstOfflineSchemaNode objects contained in the Metadata collection for this root node |
OleDbConnections | Gets a collection of all AstOleDbConnectionNode objects contained in the Connections property for this root node |
PackageProjects | Gets a collection of all AstPackageProjectNode objects contained in the Projects property for this root node |
Packages | This is a collection of all SQL Server Integration Services package definitions in the project. |
Principals | This is a collection of all principal definitions in the project. |
Projects | Defines the collection of PackageProjects and CubeProjects associated with this Biml project. |
RawFileFormats | Gets a collection of all AstRawFileFormatNode objects contained in the FileFormats property for this root node |
RootItemXsdName | Retrieves the root schema element name corresponding to this root item. |
Schemas | This is a collection of all database schema definitions in the project. |
ScriptProjects | This is a collection of all SQL Server Integration Services script project definitions in the project. |
Servers | This is a collection of all server definitions in the project. |
SymbolTable | Gets the symbol table that is used to track referenceable items in this project. |
Tables | This is a collection of all regular table definitions in the project. |
TabularModels | This is a collection of all SQL Server Analysis Services (SSAS) tabular model definitions in the project. |
TabularProjects | Gets a collection of all AstTabularProjectNode objects contained in the Projects property for this root node |
TabularTables | Gets a collection of all AstTabularMetadataNode objects contained in the all Tables for this root node |
TierFilteredRootItemType | Gets the type of the tier filtered root item that corresponds to this root item type. |
Methods
Name | Description |
---|---|
AddRootNode(IFrameworkItem) | Adds the specified root-level framework item to the project. |
BindingScopeBoundaries() | Retrieves the permitted scope boundaries to bind references from this node. |
CanDropItemOfType(Type) | Gets a value to indicate whether items of the specified type can be dropped onto this item in the design surface |
CopyFrom(IFrameworkItem, UnboundReferences) | Instructs the node to copy property values from the supplied node into itself. This method should only be used by the internal Biml framework. |
DefinedAstNodes() | Retrieves a collection of nodes that have been defined as direct children of the current node. |
Duplicate() | Creates a duplicate of the current node |
Duplicate(Dictionary<IFrameworkItem, IFrameworkItem>) | Creates a duplicate of the current node with the scoped node mapping |
Duplicate(IFrameworkItem) | Creates a duplicate of the current node with the specified parent item |
Duplicate(IFrameworkItem, Dictionary<IFrameworkItem, IFrameworkItem>) | Creates a duplicate of the current node with the specified parent item and scoped node mapping |
DuplicateHusk(IFrameworkItem) | Creates an empty object into which the values from the current node will be duplicated. This method should only be used by the internal Biml framework |
DuplicateInto(IFrameworkItem, Dictionary<IFrameworkItem, IFrameworkItem>) | Copies the values from the current node into a husk object with the specified scoped node mapping. This method should only be used by the internal Biml framework |
EmitXmlForAction(AstEnginePropertyAction) | Instructs the node to make changes to its underlying Biml code that correspond to the provided action. This method should only be used by the internal Biml framework. |
EmitXmlForProperty(String, Int32) | Instructs the node to make changes to its underlying Biml code that correspond to the provided property and index. This method should only be used by the internal Biml framework. |
GetAllItemsReferencedByDefinedSuccessors() | Builds a list of all items referenced by this node and its successors. Each tuple in the returned list represents a FrameworkItemReference. The first item is the ReferencingItem, the second item is the property name, and the third item is the ReferencedItem. |
GetBimlChildFragment(CulturedStringBuilder, Int32) | |
GetBimlFragment(CulturedStringBuilder, Int32, Boolean) | Internal method used by the Biml engine to produce the XML code for the current object. |
GetDefaultValue(String) | Retrieves the default value for the property with the name propertyName |
GetDefaultValue<T>(String) | Retrieves the default value for the property with the name propertyName |
GetFriendlyTypeNames() | |
GetJson(StringBuilder, ref Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) | Generates a JavaScript Object Notation (JSON) representation of the current node |
GetPotentialParentProperties() | Retrieves the reflection information for related properties of this node type. |
GetPropertyValue(String) | Retrieves the current value for the property with the name propertyName |
GetReflectionInfoFromXmlParsePath(String) | Retrieves the reflection information corresponding to the Xml parse path beginning at this node. |
GetRootCollectionName(Type) | Retrieves the name of the collection property corresponding the the provided type. |
GetRootCollectionName(IFrameworkItem) | Retrieves the name of the collection property corresponding the the provided framework item. |
GetRootItemType(String, String) | Retrieves the type of the root object with the specified collection and XML element name. |
GetSchemaLocalName() | Retrieves the local XML element name that corresponds to this node in Biml code. |
HasAnyBimlChildNodes() | |
IsRootCollection(Object) | Retrieves a value indicating whether the supplied collection is a root collection. |
IsRootCollectionObject(IFrameworkItem) | Retrieves a value indicating whether the supplied framework item is a root object. |
IsRootCollectionObjectType(Type) | Retrieves a value indicating whether the supplied type is a valid root object type. |
MergeFrom(IFrameworkItem, UnboundReferences, Boolean) | Instructs the node to merge property values from the supplied node into itself. This method should only be used by the internal Biml framework. |
NotifyCollectionPropertyChanged(Object, String, NotifyCollectionChangedEventArgs) | Internal Biml framework method used to notify this node that the specified collection property value has changed. |
Parse(ParserContext) | Internal method used by the compiler to parse an XML element into a ParserContext object. |
ParseChild(XElement, ParserContext) | |
RemoveRootNode(IFrameworkItem) | Removes the specified root-level framework item from the project. |
ResolveFriendlyTypeName(String) | Retrieves the full namespace-qualified type name for the provided friendly type name. |
StructureEquals(Object) | Compares this node to the provided object to determine if all defined children and references are equal. |
Explicit Interface Implementations
Name | Description |
---|---|
IFrameworkItem.ForceNotifyPropertyChanged(String) |