Class WithAttribute
Common-Table-Expression (WITH) Subquery data source
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
public sealed class WithAttribute : DataSourceAttribute
Constructors
| Improve this Doc View SourceWithAttribute(String, Type, WithRecursiveType, String[])
Common-Table-Expression (WITH) Subquery data source constructor
Declaration
public WithAttribute(string alias, Type subqueryType, WithRecursiveType withType = WithRecursiveType.RecursiveUnion, params string[] properties)
Parameters
Type | Name | Description |
---|---|---|
String | alias | Common-Table-Expression alias |
Type | subqueryType | Subquery type |
WithRecursiveType | withType | Recursive connection type (if applicable) |
String[] | properties | Common-Table-Expression (WITH) Subquery property order |
Properties
| Improve this Doc View SourceAlias
Data source alias
Declaration
public override string Alias { get; protected set; }
Property Value
Type | Description |
---|---|
String |
Overrides
| Improve this Doc View SourceProperties
Common-Table-Expression (WITH) Subquery property order
Declaration
public string[] Properties { get; }
Property Value
Type | Description |
---|---|
String[] |
SubqueryType
Subquery type
Declaration
public Type SubqueryType { get; }
Property Value
Type | Description |
---|---|
Type |
Type
Data source type
Declaration
public override DataSourceType Type { get; }
Property Value
Type | Description |
---|---|
DataSourceType |
Overrides
| Improve this Doc View SourceTypeId
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
| Improve this Doc View SourceWithType
Common-Table-Expression (WITH) Subquery type
Declaration
public WithRecursiveType WithType { get; }
Property Value
Type | Description |
---|---|
WithRecursiveType |