Пример #1
0
 public InternalParamBuilder()
 {
     Sql        = string.Empty;
     Parameters = new DbParameterList();
 }
Пример #2
0
 public InternalParamBuilder(string sql, DbParameterList parameters)
 {
     Sql        = sql;
     Parameters = parameters;
 }
Пример #3
0
 public InternalParamBuilder(string sql, params DbParameter[] parameters)
 {
     Sql        = sql;
     Parameters = new DbParameterList();
     Parameters.AddRange(parameters);
 }
Пример #4
0
 public DataRow TrySelectRow(string tableName, string sql, DbParameterList parameterList)
 {
     return(DbUtil.TrySelectRow(() => Select(tableName, sql, parameterList),
                                HostDataSet, tableName));
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the LikeParamBuilder class.
 /// </summary>
 private LikeParamBuilder()
 {
     fParams = new DbParameterList();
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the ParamBuilderContainer class.
 /// </summary>
 public ParamBuilderContainer()
 {
     fSql    = new StringBuilder();
     fParams = new DbParameterList();
 }