Class QueryableExecuter<T, TT>
A QueryableExecuter that operates against the specified interface of type T
and a class of type TT
implementing T
Implements
ICloneable<QueryableExecuter<T, TT>>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Utils
Assembly: Utils.dll
Syntax
[DataContract]
public class QueryableExecuter<T, TT> : QueryableExecuter<T>, ICloneable, ICloneable<QueryableExecuter>, ICloneable<QueryableExecuter<T>>, ICloneable<QueryableExecuter<T, TT>> where TT : T
Type Parameters
Name | Description |
---|---|
T | The type of interface this QueryableExecuter executes against |
TT | The type of the class that implements |
Constructors
QueryableExecuter(Boolean)
Creates a new instance of a QueryableExecuter for this interface T and type TT
Declaration
public QueryableExecuter(bool oDataQuery)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | oDataQuery | Indicates if this queryableexecuter is being operated against an odata web service collection of items or not |
Properties
QueryType
Declaration
public override Type QueryType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Overrides
LemonEdge.Utils.QueryableExecuter<T>.QueryType
Methods
ApplyGenericWheres(IQueryable, Boolean)
Declaration
protected override IQueryable ApplyGenericWheres(IQueryable items, bool isODataQuery)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.IQueryable | items | |
System.Boolean | isODataQuery |
Returns
Type | Description |
---|---|
System.Linq.IQueryable |
Overrides
LemonEdge.Utils.QueryableExecuter<T>.ApplyGenericWheres(System.Linq.IQueryable, System.Boolean)
Clone()
Declaration
public QueryableExecuter<T, TT> Clone()
Returns
Type | Description |
---|---|
QueryableExecuter<T, TT> |
ConvertItems(IQueryable)
Declaration
protected override IQueryable ConvertItems(IQueryable items)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.IQueryable | items |
Returns
Type | Description |
---|---|
System.Linq.IQueryable |
Overrides
LemonEdge.Utils.QueryableExecuter<T>.ConvertItems(System.Linq.IQueryable)
CopyFromSource(QueryableExecuter<T, TT>)
Implementation of CopyFromSource(T). Sets all values of this QueryableExecuter to the same as the supplied source
Declaration
public void CopyFromSource(QueryableExecuter<T, TT> source)
Parameters
Type | Name | Description |
---|---|---|
QueryableExecuter<T, TT> | source | A source QueryableExecuter to copy all values from |
CreateNewItem()
Declaration
protected override QueryableExecuter CreateNewItem()
Returns
Type | Description |
---|---|
QueryableExecuter |
Overrides
LemonEdge.Utils.QueryableExecuter<T>.CreateNewItem()
GetClassFilters()
Returns the Where filters in this QueryableExecuter as Linq Expressions typed to type TT
Declaration
public IEnumerable<Expression<Func<TT, bool>>> GetClassFilters()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression<System.Func<TT, System.Boolean>>> | The Where filters in this QueryableExecuter as Linq Expressions typed to type |