Table of Contents

Class DataBindingHint

Inheritance
DataBindingHint
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper
Assembly
TOMWrapper.dll

Represent as an unenforceable instruction (a hint) to bind a data source reference in the model to a data connection in Fabric. The hint is ignored if the data source is already bound or if the data connection does not exist in Fabric.

public sealed class DataBindingHint : BindingInfo, ICustomTypeDescriptor, INotifyPropertyChanging, ITabularNamedObject, INamedObject, IComparable, IDescriptionObject, IAnnotationObject, IExtendedPropertyObject, ITabularObject, INotifyPropertyChanged, IHandlerObject, IClonableObject
Extension Methods

Remarks

This metadata object is only supported when the compatibility level of the database is at 1608 or above.

Properties

ConnectionId

The connection id of the data connection in Fabric that should be used to bind the referenced data source.

public string ConnectionId { get; set; }

Property Value

Type Description
string

Parent

The parent Model of the current Data Binding Hint.

public Model Parent { get; }

Property Value

Type Description
Model

Methods

Clone(string)

Creates an exact copy of this DataBindingHint object.

public DataBindingHint Clone(string newName = null)

Parameters

Type Name Description
string newName

Returns

Type Description
DataBindingHint

CreateNew(Model, string)

Creates a new DataBindingHint and adds it to the parent Model. Also creates the underlying metadataobject and adds it to the TOM tree.

public static DataBindingHint CreateNew(Model parent, string name = null)

Parameters

Type Name Description
Model parent
string name

Returns

Type Description
DataBindingHint