You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/EntityDA/CodeSourceDA.cs

30 lines
853 B
C#

3 years ago
using System;
using System.Data;
using System.Data.SqlClient;
using WebSqlHelper;
namespace DSWeb.EntityDA
{
public class CodeSourceDA
{
private const string PARM_CODE_SOURCE_GID = "@gid";
private const string PARM_CODE_SOURCE_SOURCE_NAME = "@source_name";
private const string PARM_CODE_SOURCE_CORP_ID = "@corp_id";
#region 获取SQL语句查询数据集
/// <summary>
/// 获取SQL语句查询数据集
/// </summary>
/// <param name="strSql"></param>
/// <returns></returns>
public DataSet GetExcuteSql(string strSql)
{
DataSet tempSet = new DataSet();
tempSet = SqlHelper.ExecuteDataset(SqlHelper.ConnectionStringLocalTransaction, CommandType.Text, strSql);
return tempSet;
}
#endregion
}
}