От: | Коваленко Дмитрий | http://www.ibprovider.com | |
Дата: | 26.11.17 18:43 | ||
Оценка: |
[Test, IncludeDataContextSource(ProviderName.SqlServer2005)] public void Sql2005 (string ctx) { RunScript(ctx, "\nGO\n", "SqlServer"); }
[Test, IncludeDataContextSource(ProviderName.SqlServer2008)] public void Sql2008 (string ctx) { RunScript(ctx, "\nGO\n", "SqlServer"); }
[Test, IncludeDataContextSource(ProviderName.SqlServer2012)] public void Sql2012 (string ctx) { RunScript(ctx, "\nGO\n", "SqlServer"); }
[Test, IncludeDataContextSource(ProviderName.SqlServer2014)] public void Sql2014 (string ctx) { RunScript(ctx, "\nGO\n", "SqlServer"); }
[Test, IncludeDataContextSource(TestProvName.SqlAzure)] public void SqlAzure2012 (string ctx) { RunScript(ctx, "\nGO\n", "SqlServer"); }
[Test, IncludeDataContextSource(ProviderName.SqlServer2005,ProviderName.SqlServer2008, ..., TestProvName.SqlAzure)]
public void MsSql (string ctx) { RunScript(ctx, "\nGO\n", "SqlServer"); }
public static readonly string[] MsSql_Set001={ProviderName.SqlServer2005,ProviderName.SqlServer2008, ..., TestProvName.SqlAzure};
[Test, IncludeDataContextSource(MsSql_Set001)]
public void MsSql (string ctx) { RunScript(ctx, "\nGO\n", "SqlServer"); }
Собственно вопрос — какого такую полезную штуку до сих пор не поддерживают?Error CS0182 An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type Tests(netcoreapp2.0)