SaaS CMS has officially launched! Learn more now.

Class FilterElementTransformer

Represents filter element transaformer.

Inheritance
System.Object
FilterElementTransformer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class FilterElementTransformer
Remarks

The FilterElementTransformer class converts meta model filters to sql-query filters.

Constructors

FilterElementTransformer()

Initializes a new instance of the RowFilterElementBuilder class.

Declaration
public FilterElementTransformer()

FilterElementTransformer(MetaClass)

Initializes a new instance of the RowFilterElementBuilder class.

Declaration
public FilterElementTransformer(MetaClass ownerMetaClass)
Parameters
Type Name Description
MetaClass ownerMetaClass

The owner meta class.

FilterElementTransformer(MetaClass, FilterElement[])

Initializes a new instance of the RowFilterElementBuilder class.

Declaration
public FilterElementTransformer(MetaClass ownerMetaClass, FilterElement[] metaClassFilters)
Parameters
Type Name Description
MetaClass ownerMetaClass

The owner meta class.

FilterElement[] metaClassFilters

The meta class filters.

Properties

MetaClassFilters

Gets or sets the source filters.

Declaration
public FilterElementCollection MetaClassFilters { get; }
Property Value
Type Description
FilterElementCollection

The source filters.

OwnerMetaClass

Gets or sets the owner meta class.

Declaration
public MetaClass OwnerMetaClass { get; set; }
Property Value
Type Description
MetaClass

The owner meta class.

ResolvedTemplateValueIndex

Gets or sets the index of the resolved template value.

Declaration
protected int ResolvedTemplateValueIndex { get; set; }
Property Value
Type Description
System.Int32

The index of the resolved template value.

RowFilters

Gets the row filters.

Declaration
public FilterElementCollection RowFilters { get; }
Property Value
Type Description
FilterElementCollection

The row filters.

Methods

Transform()

Builds this instance.

Declaration
public void Transform()