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