Class EntityPartition
- Inheritance
-
EntityPartition
- Implements
-
- Inherited Members
-
- Namespace
- TabularEditor.TOMWrapper
- Assembly
- TOMWrapper.dll
public class EntityPartition : Partition, ICustomTypeDescriptor, INotifyPropertyChanging, IComparable, ITomErrorMessageObject, ITabularTableObject, IDescriptionObject, IAnnotationObject, IExtendedPropertyObject, IClonableObject, IDaxDependantObject, IExpressionObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject
- Extension Methods
-
Properties
DefaultExpressionProperty
Gets the default expression property on the current object.
public override ExpressionProperty? DefaultExpressionProperty { get; }
Property Value
EntityName
Gets or sets the Name of the underlying referenced object used to query and populate current partition.
public string EntityName { get; set; }
Property Value
ExpressionSource
The Expression Source used by this partition.
[TypeConverter(typeof(NamedExpressionConverter))]
public NamedExpression ExpressionSource { get; set; }
Property Value
SchemaName
public string SchemaName { get; set; }
Property Value
Methods
Clone(string, Table)
Creates an exact copy of this Partition object.
public override Partition Clone(string newName = null, Table newParent = null)
Parameters
Returns
CreateNew(Table, string)
public static EntityPartition CreateNew(Table parent, string name = null)
Parameters
Returns
GetExpression(ExpressionProperty)
Gets the specified expression from the current object.
public override string GetExpression(ExpressionProperty expressionProperty)
Parameters
Returns
Exceptions
- InvalidEnumArgumentException
Thrown when the current object does not support the specified ExpressionProperty
GetExpressionProperties()
Gets all supported expression properties on the current object.
public override IEnumerable<ExpressionProperty> GetExpressionProperties()
Returns
Init()
Derived members should override this method to instantiate child objects
protected override void Init()
SetExpression(ExpressionProperty, string)
Sets the specified expression on the current object.
public override void SetExpression(ExpressionProperty expressionProperty, string expression)
Parameters
Exceptions
- InvalidEnumArgumentException
Thrown when the current object does not support the specified ExpressionProperty