Class QSelect<T>
Select applied to the class T Only the choosen propertier are going to be retrieved
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class QSelect<T>
Type Parameters
| Name | Description |
|---|---|
| T | the class on which the selection apply |
Methods
Include<P>(Expression<Func<T, P>>)
Include a field in the projection
Declaration
public virtual QSelect<T> Include<P>(Expression<Func<T, P>> property)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, P>> | property | the field to retrieve |
Returns
| Type | Description |
|---|---|
| QSelect<T> |
Type Parameters
| Name | Description |
|---|---|
| P |
Select()
Create an ampty qselect object
Declaration
public static QSelect<T> Select()
Returns
| Type | Description |
|---|---|
| QSelect<T> | qselect filter |
Select<P>(Expression<Func<T, P>>)
Create a qselect object with a corresponding field
Declaration
public static QSelect<T> Select<P>(Expression<Func<T, P>> property)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, P>> | property | the fields to retrieve |
Returns
| Type | Description |
|---|---|
| QSelect<T> | qselect filter |
Type Parameters
| Name | Description |
|---|---|
| P |
ToString()
Override to string
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | string format |