Class MetaView
Represents meta view meta information. (Obsolete)
Inheritance
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 13.30.0Syntax
public class MetaView
Constructors
MetaView()
Initializes a new instance of the MetaView class.
Declaration
public MetaView()
MetaView(MetaClass, String, String)
Initializes a new instance of the MetaView class.
Declaration
public MetaView(MetaClass AssignedMetaClass, string Name, string FriendlyName)
Parameters
Type | Name | Description |
---|---|---|
MetaClass | AssignedMetaClass | The assigned meta class. |
System.String | Name | The name. |
System.String | FriendlyName | Name of the friendly. |
MetaView(String, String)
Initializes a new instance of the MetaView class.
Declaration
public MetaView(string Name, string FriendlyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | Name | The name. |
System.String | FriendlyName | Name of the friendly. |
Properties
AccessLevel
Gets or sets the access level.
Declaration
public AccessLevel AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
AccessLevel | The access level. |
Attributes
Gets the attributes.
Declaration
public AttributeCollection Attributes { get; set; }
Property Value
Type | Description |
---|---|
AttributeCollection | The attributes. |
AvailableFieldNames
Gets or sets the available field names.
Declaration
public string[] AvailableFieldNames { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The available field names. |
AvailableFields
Gets the available fields.
Declaration
public List<MetaField> AvailableFields { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MetaField> | The available fields. |
Card
Gets or sets the card.
Declaration
public MetaClass Card { get; set; }
Property Value
Type | Description |
---|---|
MetaClass | The card. |
CardName
Gets or sets the name of the card.
Declaration
public string CardName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the card. |
Filters
Gets the filters.
Declaration
public FilterElementCollection Filters { get; set; }
Property Value
Type | Description |
---|---|
FilterElementCollection | The filters. |
FriendlyName
Gets or sets the name of the friendly.
Declaration
public string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the friendly. |
Item[String]
Gets the MetaField with the specified meta field name.
Declaration
public MetaField this[string MetaFieldName] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | MetaFieldName |
Property Value
Type | Description |
---|---|
MetaField |
MetaClass
Gets or sets the meta class.
Declaration
public MetaClass MetaClass { get; set; }
Property Value
Type | Description |
---|---|
MetaClass | The meta class. |
MetaClassName
Gets or sets the name of the meta class.
Declaration
public string MetaClassName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the meta class. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Owner
Gets or sets the owner.
Declaration
public string Owner { get; set; }
Property Value
Type | Description |
---|---|
System.String | The owner. |
PrimaryGroupBy
Gets or sets the group by.
Declaration
public GroupByElement PrimaryGroupBy { get; set; }
Property Value
Type | Description |
---|---|
GroupByElement | The group by. |
SecondaryGroupBy
Gets or sets the second group by.
Declaration
public GroupByElement SecondaryGroupBy { get; set; }
Property Value
Type | Description |
---|---|
GroupByElement | The second group by. |
Sorting
Gets or sets the sorting.
Declaration
public SortingElementCollection Sorting { get; set; }
Property Value
Type | Description |
---|---|
SortingElementCollection | The sorting. |
TotalGroupBy
Gets or sets the total group by.
Declaration
public GroupByElement TotalGroupBy { get; set; }
Property Value
Type | Description |
---|---|
GroupByElement | The total group by. |
Methods
CombineFilters(MetaView, FilterElementCollection[])
Combines the filters.
Declaration
public static FilterElementCollection CombineFilters(MetaView metaView, params FilterElementCollection[] Sources)
Parameters
Type | Name | Description |
---|---|---|
MetaView | metaView | The meta view. |
FilterElementCollection[] | Sources | The sources. |
Returns
Type | Description |
---|---|
FilterElementCollection |
CombineSorting(SortingElementCollection[])
Combines the sorting.
Declaration
public static SortingElementCollection CombineSorting(params SortingElementCollection[] sources)
Parameters
Type | Name | Description |
---|---|---|
SortingElementCollection[] | sources | The sources. |
Returns
Type | Description |
---|---|
SortingElementCollection |
GetTotalCount(FilterElement[])
Gets the total count.
Declaration
public int GetTotalCount(params FilterElement[] filters)
Parameters
Type | Name | Description |
---|---|---|
FilterElement[] | filters | The filters. |
Returns
Type | Description |
---|---|
System.Int32 |
GetTotalCount(IMetaViewPreference)
Gets the total count.
Declaration
public int GetTotalCount(IMetaViewPreference preference)
Parameters
Type | Name | Description |
---|---|---|
IMetaViewPreference | preference | The preference. |
Returns
Type | Description |
---|---|
System.Int32 |
List()
Lists the specified meta type.
Declaration
public MetaObject[] List()
Returns
Type | Description |
---|---|
MetaObject[] |
List(FilterElement[])
Lists the specified meta type.
Declaration
public MetaObject[] List(params FilterElement[] filters)
Parameters
Type | Name | Description |
---|---|---|
FilterElement[] | filters | The filters. |
Returns
Type | Description |
---|---|
MetaObject[] |
List(FilterElementCollection, SortingElementCollection)
Lists the specified meta type.
Declaration
public MetaObject[] List(FilterElementCollection filters, SortingElementCollection sorting)
Parameters
Type | Name | Description |
---|---|---|
FilterElementCollection | filters | The filters. |
SortingElementCollection | sorting | The sorting. |
Returns
Type | Description |
---|---|
MetaObject[] |
List(FilterElementCollection, SortingElementCollection, Int32, Int32)
Lists the specified meta type.
Declaration
public MetaObject[] List(FilterElementCollection filters, SortingElementCollection sorting, int start, int count)
Parameters
Type | Name | Description |
---|---|---|
FilterElementCollection | filters | The filters. |
SortingElementCollection | sorting | The sorting. |
System.Int32 | start | The start. |
System.Int32 | count | The count. |
Returns
Type | Description |
---|---|
MetaObject[] |
List(IMetaViewPreference)
Lists the specified preference.
Declaration
public MetaObject[] List(IMetaViewPreference preference)
Parameters
Type | Name | Description |
---|---|---|
IMetaViewPreference | preference | The preference. |
Returns
Type | Description |
---|---|
MetaObject[] |
List(IMetaViewPreference, ControlPropertyDelegate)
Lists the specified preference.
Declaration
public MetaObject[] List(IMetaViewPreference preference, ControlPropertyDelegate controlDelegate)
Parameters
Type | Name | Description |
---|---|---|
IMetaViewPreference | preference | The preference. |
ControlPropertyDelegate | controlDelegate | The control delegate. |
Returns
Type | Description |
---|---|
MetaObject[] |
List(SortingElement[])
Lists the specified meta type.
Declaration
public MetaObject[] List(params SortingElement[] sorting)
Parameters
Type | Name | Description |
---|---|---|
SortingElement[] | sorting | The sorting. |
Returns
Type | Description |
---|---|
MetaObject[] |
List<T>()
Lists this instance.
Declaration
public T[] List<T>()
where T : MetaObject
Returns
Type | Description |
---|---|
T[] |
Type Parameters
Name | Description |
---|---|
T |
List<T>(FilterElement[])
Lists the specified meta type.
Declaration
public T[] List<T>(params FilterElement[] filters)
where T : MetaObject
Parameters
Type | Name | Description |
---|---|---|
FilterElement[] | filters | The filters. |
Returns
Type | Description |
---|---|
T[] |
Type Parameters
Name | Description |
---|---|
T |
List<T>(FilterElementCollection, SortingElementCollection)
Lists the specified meta type.
Declaration
public T[] List<T>(FilterElementCollection filters, SortingElementCollection sorting)
where T : MetaObject
Parameters
Type | Name | Description |
---|---|---|
FilterElementCollection | filters | The filters. |
SortingElementCollection | sorting | The sorting. |
Returns
Type | Description |
---|---|
T[] |
Type Parameters
Name | Description |
---|---|
T |
List<T>(FilterElementCollection, SortingElementCollection, Int32, Int32)
Lists the specified meta type.
Declaration
public T[] List<T>(FilterElementCollection filters, SortingElementCollection sorting, int start, int count)
where T : MetaObject
Parameters
Type | Name | Description |
---|---|---|
FilterElementCollection | filters | The filters. |
SortingElementCollection | sorting | The sorting. |
System.Int32 | start | The start. |
System.Int32 | count | The count. |
Returns
Type | Description |
---|---|
T[] |
Type Parameters
Name | Description |
---|---|
T |
List<T>(SortingElement[])
Lists the specified meta type.
Declaration
public T[] List<T>(params SortingElement[] sorting)
where T : MetaObject
Parameters
Type | Name | Description |
---|---|---|
SortingElement[] | sorting | The sorting. |
Returns
Type | Description |
---|---|
T[] |
Type Parameters
Name | Description |
---|---|
T |