17 lines
694 B
C#
17 lines
694 B
C#
|
using System.Data;
|
|||
|
using System.Data.SqlClient;
|
|||
|
|
|||
|
namespace DeviceRepairAndOptimization.Interface
|
|||
|
{
|
|||
|
public interface BaseDataAccess
|
|||
|
{
|
|||
|
int ExecuteNonQuery(string connectionString, CommandType cmdType, string cmdText, params SqlParameter[] commandParameters);
|
|||
|
|
|||
|
object ExecuteScalar(string connectionString, CommandType cmdType, string cmdText, params SqlParameter[] commandParameters);
|
|||
|
|
|||
|
DataSet ExecuteDataSet(string connectionString, CommandType cmdType, string cmdText, params SqlParameter[] commandParameters);
|
|||
|
|
|||
|
DataTable ExecuteDataTable(string connectionString, CommandType cmdType, string cmdText, params SqlParameter[] commandParameters);
|
|||
|
}
|
|||
|
}
|