Ejemplo n.º 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;
 }
Ejemplo n.º 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));
        }
Ejemplo n.º 3
0
 internal Where(WhereGroup <T> container)
 {
     this.Container = container;
 }