Class SubqueryLinkAttribute
Data object link to subquery attribute
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class SubqueryLinkAttribute : FilterBaseAttribute
Constructors
| Improve this Doc View SourceSubqueryLinkAttribute(String, String, String)
Subquery link attribute
Declaration
public SubqueryLinkAttribute(string subquery, string subqueryProperty, string property = "")
Parameters
Type | Name | Description |
---|---|---|
String | subquery | Child source alias |
String | subqueryProperty | Child property to link |
String | property | Parent property contains value to link |
Exceptions
Type | Condition |
---|---|
XDataRuntimeException | Child source alias cannot be null or empty string |
XDataRuntimeException | Child property to link cannot be null or empty string |
Properties
| Improve this Doc View SourceCombination
Filter combination (filter group) name
Declaration
public string Combination { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
| Improve this Doc View SourceFilterType
Filter type
Declaration
public override FilterType FilterType { get; }
Property Value
Type | Description |
---|---|
FilterType |
Overrides
See Also
| Improve this Doc View SourceOperation
Filter operation
Declaration
public FilterOperation Operation { get; set; }
Property Value
Type | Description |
---|---|
FilterOperation |
See Also
| Improve this Doc View SourcePrimaryFilter
Primary filter flag
Declaration
public bool PrimaryFilter { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
| Improve this Doc View SourcePropertyName
Parent property
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
If not assigned used SubqueryProperty name
Subquery
Child source alias
Declaration
public string Subquery { get; }
Property Value
Type | Description |
---|---|
String |
See Also
| Improve this Doc View SourceSubqueryProperty
Child property to link
Declaration
public string SubqueryProperty { get; }
Property Value
Type | Description |
---|---|
String |
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
Declaration
public override object TypeId { get; }
Property Value
Type | Description |
---|---|
Object | An Object that is a unique identifier for the attribute. |
Overrides
Extension Methods
SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)