Class LinqQuery
Represents a linq query
Inheritance
System.Object
LinqQuery
Namespace: EPiServer.Data.Dynamic.Linq
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public class LinqQuery : Object
Constructors
LinqQuery(String, LinqDeferrer, DynamicDataStore, Boolean)
Creates a new instance of Linq
Declaration
public LinqQuery(string sql, LinqDeferrer deferrer, DynamicDataStore store, bool usingSelect)
Parameters
Type | Name | Description |
---|---|---|
System. |
sql | The sql statement |
Linq |
deferrer | The deferrer to use |
Dynamic |
store | The store to use |
System. |
usingSelect | Specifies if select sgould be used |
Properties
Deferrer
The deferrer to use
Declaration
public LinqDeferrer Deferrer { get; }
Property Value
Type | Description |
---|---|
Linq |
LinqDeferrerSupportsDefault
Specifies if specified defferer supports default
Declaration
public bool LinqDeferrerSupportsDefault { get; }
Property Value
Type | Description |
---|---|
System. |
ReturnsSingleObject
Specifies if deferrer supports to return a single object
Declaration
public bool ReturnsSingleObject { get; }
Property Value
Type | Description |
---|---|
System. |
Sql
The sql statement for the query
Declaration
public string Sql { get; }
Property Value
Type | Description |
---|---|
System. |
Store
The dynamic data store to use
Declaration
public DynamicDataStore Store { get; }
Property Value
Type | Description |
---|---|
Dynamic |
UsingSelect
Specifies if select is used
Declaration
public bool UsingSelect { get; }
Property Value
Type | Description |
---|---|
System. |