public WhereClause Clone() { WhereClause clone = new WhereClause(); clone.JoinType = JoinType; foreach (var item in InnerList) { clone.Add(item.Clone()); } return(clone); }
public WhereClause Clone() { WhereClause clone = new WhereClause(); clone.JoinType = JoinType; foreach (var item in InnerList) { clone.Add(item.Clone()); } return clone; }
public void IsEmpty() { var item = new WhereClause(); Assert.IsTrue(item.IsEmpty); item.Add(new WhereString("a=b")); Assert.IsFalse(item.IsEmpty); }