どうすればよいですか? シナリオ: abstract class DataAccess
{
public abstract string ConnectionString { get; set; }
public static DataTable ExecuteSql(string sql)
{
// ...
}
public s
列名をパラメータとして使用して列リストに基づいていくつかのSQL文を生成したいとします。 編集:C# var columns = new string[] { "COL1", "COL2" };
var tableName = "TABLE_1";
var prefix = "@"; // TODO get this from the provider factory
string sql