コード例 #1
0
 public ConditionCollectionContext(CustomDataCommand contextDataCommand)
 {
     IsFirstCondition         = true;
     FirstGroupConditionFlags = new Stack <bool>();
     AddedParameterNames      = new List <string>();
     DataCommand = contextDataCommand;
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 public DynamicQuerySqlBuilder(CustomDataCommand dataCommand,
                               PagingInfoEntity pagingInfo, string defaultOrderBy)
     : this(dataCommand.CommandText, dataCommand, pagingInfo, defaultOrderBy)
 {
 }
コード例 #4
0
 public DynamicQuerySqlBuilder(CustomDataCommand dataCommand, string defaultOrderBy)
     : this(dataCommand.CommandText, dataCommand, new PagingInfoEntity() { StartRowIndex = 0, MaximumRows = 5000, SortField = string.Empty }, defaultOrderBy)
 {
 }