forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHanaColumnStoreDialect.cs
34 lines (31 loc) · 1009 Bytes
/
HanaColumnStoreDialect.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using Environment = NHibernate.Cfg.Environment;
namespace NHibernate.Dialect
{
/// <summary>
/// A SQL dialect for the SAP HANA column store
/// </summary>
/// <remarks>
/// The HanaColumnStoreDialect defaults the following configuration properties:
/// <list type="table">
/// <listheader>
/// <term>Property</term>
/// <description>Default Value</description>
/// </listheader>
/// <item>
/// <term>connection.driver_class</term>
/// <description><see cref="NHibernate.Driver.HanaColumnStoreDriver" /></description>
/// </item>
/// </list>
/// </remarks>
public class HanaColumnStoreDialect : HanaDialectBase
{
public HanaColumnStoreDialect()
{
DefaultProperties[Environment.ConnectionDriver] = typeof(NHibernate.Driver.HanaColumnStoreDriver).FullName;
}
/// <inheritdoc />
public override string CreateTableString => "create column table";
/// <inheritdoc />
public override string CreateTemporaryTableString => "create local temporary column table";
}
}