Exemple #1
0
 internal Where(WhereGroup <T> container, string key, string keyAlias, bool isValue = true)
 {
     this.Container = container;
     this.Key       = key;
     this.IsValue   = isValue;
     this.KeyAlias  = keyAlias;
 }
Exemple #2
0
        public Where <T> On(string columnName, string alias = null)
        {
            if (WhereContainer == null)
            {
                WhereContainer = new WhereGroup <T>(Query);
            }

            if (alias == null)
            {
                (columnName, alias) = QueryUtils.ParseColumnNameAndAlias(columnName);
            }

            return(WhereContainer.AddWhere(columnName, alias, BooleanType.And));
        }
Exemple #3
0
 internal Where(WhereGroup <T> container)
 {
     this.Container = container;
 }