From 9edbb23b95b5d1e844d9bd13c52f7af70308abac Mon Sep 17 00:00:00 2001 From: mcintyre321 Date: Fri, 5 Sep 2014 15:23:11 +0100 Subject: [PATCH] Made queryinfos pliable --- LinqToAnything/QueryInfo.cs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/LinqToAnything/QueryInfo.cs b/LinqToAnything/QueryInfo.cs index 6e9b577..1353d86 100644 --- a/LinqToAnything/QueryInfo.cs +++ b/LinqToAnything/QueryInfo.cs @@ -26,10 +26,10 @@ public QueryInfo() { Clauses = Enumerable.Empty(); } - public int? Take { get; internal set; } //10 - public int Skip { get; internal set; } //20 - public OrderBy OrderBy { get; internal set; } //LinqToAnything.OrderBy.Asc - public IEnumerable Clauses { get; internal set; } // an array containing two where objects + public int? Take { get; set; } //10 + public int Skip { get; set; } //20 + public OrderBy OrderBy { get; set; } //LinqToAnything.OrderBy.Asc + public IEnumerable Clauses { get; set; } // an array containing two where objects public QueryInfo Clone() { @@ -47,7 +47,7 @@ public QueryInfo Clone() public class Or : Clause { - public IEnumerable Clauses { get; internal set; } + public IEnumerable Clauses { get; set; } public override Clause Clone() { @@ -67,12 +67,12 @@ public override string ToString() public class Where : Clause { - public string PropertyName { get; internal set; } + public string PropertyName { get; set; } /// /// either a method name (e.g. Contains, StartsWith) or an operator name (op_Inequality,op_GreaterThan,op_GreaterThanOrEqual,op_LessThan,op_LessThanOrEqual,op_Multiply,op_Subtraction,op_Addition,op_Division,op_Modulus,op_BitwiseAnd,op_BitwiseOr,op_ExclusiveOr) /// - public object Value { get; internal set; } + public object Value { get; set; } public override Clause Clone() @@ -94,8 +94,8 @@ public override string ToString() public abstract class Clause { - public string Operator { get; internal set; } - public Expression Expression { get; internal set; } + public string Operator { get; set; } + public Expression Expression { get; set; } public abstract Clause Clone(); } @@ -113,8 +113,8 @@ public enum OrderByDirection Desc } - public string Name { get; internal set; } - public OrderByDirection Direction { get; internal set; } + public string Name { get; set; } + public OrderByDirection Direction { get; set; } public OrderBy Clone() {