public IExpression Collate(ICollation collation)
        {
            var col = Misc.TryCast <ICollation, QueryCollation>(collation);

            col = new QueryCollation(col);
            col.SetOperand(this);
            return(col);
        }
        public IExpression Collate([NotNull] ICollation collation)
        {
            CBDebug.MustNotBeNull(WriteLog.To.Query, Tag, nameof(collation), collation);
            var col = Misc.TryCast <ICollation, QueryCollation>(collation);

            col = new QueryCollation(col);
            col.SetOperand(this);
            return(col);
        }
Exemplo n.º 3
0
 // Copy constructor.
 public QueryCollation(QueryCollation collationCopy)
 {
     _collation = new Dictionary <string, object>(collationCopy._collation);
 }