0
|
1 using System;
|
|
2 using System.Text;
|
|
3
|
|
4 namespace BLToolkit.Data.Sql.SqlProvider
|
|
5 {
|
|
6 public class MsSql2008SqlProvider : MsSqlSqlProvider
|
|
7 {
|
|
8 protected override ISqlProvider CreateSqlProvider()
|
|
9 {
|
|
10 return new MsSql2008SqlProvider();
|
|
11 }
|
|
12
|
|
13 protected override void BuildFunction(StringBuilder sb, SqlFunction func)
|
|
14 {
|
|
15 func = ConvertFunctionParameters(func);
|
|
16 base.BuildFunction(sb, func);
|
|
17 }
|
|
18
|
|
19 protected override void BuildInsertOrUpdateQuery(StringBuilder sb)
|
|
20 {
|
|
21 BuildInsertOrUpdateQueryAsMerge(sb, null);
|
|
22 sb.AppendLine(";");
|
|
23 }
|
|
24 }
|
|
25 }
|