public ConditionCollectionContext(CustomDataCommand contextDataCommand)
 {
     IsFirstCondition         = true;
     FirstGroupConditionFlags = new Stack <bool>();
     AddedParameterNames      = new List <string>();
     DataCommand = contextDataCommand;
 }
 public DynamicQuerySqlBuilder(
     string querySqlTemplate, CustomDataCommand dataCommand,
     PagingInfoEntity pagingInfo, string defaultOrderBy)
 {
     m_pagingInfo           = pagingInfo;
     m_dataCommand          = dataCommand;
     m_querySqlTemplate     = querySqlTemplate;
     m_defaultOrderBy       = defaultOrderBy;
     m_conditionConstructor = new ConditionConstructor();
 }
 public DynamicQuerySqlBuilder(CustomDataCommand dataCommand,
                               PagingInfoEntity pagingInfo, string defaultOrderBy)
     : this(dataCommand.CommandText, dataCommand, pagingInfo, defaultOrderBy)
 {
 }
 public DynamicQuerySqlBuilder(CustomDataCommand dataCommand, string defaultOrderBy)
     : this(dataCommand.CommandText, dataCommand, new PagingInfoEntity() { StartRowIndex = 0, MaximumRows = 5000, SortField = string.Empty }, defaultOrderBy)
 {
 }