You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
772 B
33 lines
772 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using QMFrameWork.Data;
|
|
|
|
namespace QMAPP.FJC.TRACING.DAInterface
|
|
{
|
|
/// <summary>
|
|
/// SQL命令
|
|
/// </summary>
|
|
public class SQLCommand
|
|
{
|
|
public SQLCommand()
|
|
{
|
|
Parameters = new List<DataParameter>();
|
|
}
|
|
public SQLCommand(string sql, params DataParameter[] paramters)
|
|
: this()
|
|
{
|
|
SQL = sql;
|
|
Parameters.AddRange(paramters);
|
|
}
|
|
/// <summary>
|
|
/// SQL语句
|
|
/// </summary>
|
|
public string SQL { get; set; }
|
|
/// <summary>
|
|
/// 参数
|
|
/// </summary>
|
|
public List<DataParameter> Parameters { get; private set; }
|
|
}
|
|
}
|
|
|