Esempio n. 1
0
            private int _dataSeq = -1; // Unresolved

            /// <summary>
            ///
            /// </summary>
            /// <param name="builder"></param>
            /// <param name="sqlSelect">eg:SELECT /**select**/</param>
            /// <param name="sqlBody">eg:FROM  Person /**leftjoin**/ /**where**/</param>
            /// <param name="sqlOrderBy">eg:/**orderby**/</param>
            /// <param name="parameters"></param>
            public SelectTemplate(SqlSelectBuilder builder, string sqlSelect, string sqlBody, string sqlOrderBy, object parameters)
            {
                _initParams = parameters;
                _sqlSelect  = sqlSelect;
                _sqlBody    = sqlBody;
                _sqlOrderBy = sqlOrderBy;
                _builder    = builder;
            }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="builder"></param>
 /// <param name="sqlSelect">eg:SELECT /**select**/</param>
 /// <param name="sqlBody">eg:FROM  Person /**leftjoin**/ /**where**/</param>
 /// <param name="sqlOrderBy">eg:/**orderby**/</param>
 /// <param name="parameters"></param>
 public SqlSeverTemplate(SqlSelectBuilder builder, string sqlSelect, string sqlBody, string sqlOrderBy, object parameters)
     : base(builder, sqlSelect, sqlBody, sqlOrderBy, parameters)
 {
 }