示例#1
0
 /// <summary>
 /// 带Out或Output的查询表
 /// </summary>
 /// <param name="commandText"></param>
 /// <param name="outParameters"></param>
 /// <param name="commandParameters"></param>
 /// <param name="commandType"></param>
 /// <param name="transaction"></param>
 /// <returns></returns>
 public DataTable ExecuteDatatable(string commandText, out Dictionary <string, object> outParameters, IDataParameter[] commandParameters,
                                   CommandType commandType = CommandType.StoredProcedure, IDbTransaction transaction = null)
 {
     return(MSSQLDBServer.ExecuteDatatable(Connectstring, commandText, out outParameters, commandParameters, commandType, transaction));
 }
示例#2
0
 /// <summary>
 /// 返回查询表
 /// </summary>
 /// <param name="commandText"></param>
 /// <param name="commandParameters"></param>
 /// <param name="commandType"></param>
 /// <param name="transaction"></param>
 /// <returns></returns>
 public DataTable ExecuteDatatable(string commandText, IDataParameter[] commandParameters = null, CommandType commandType = CommandType.Text,
                                   IDbTransaction transaction = null)
 {
     return(MSSQLDBServer.ExecuteDatatable(Connectstring, commandText, commandParameters, commandType, transaction));
 }