comparison Source/Data/Sql/SqlProvider/MsSql2008SqlProvider.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
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 }