forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInformixDialect1000.cs
56 lines (53 loc) · 1.58 KB
/
InformixDialect1000.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using NHibernate.Cfg;
using NHibernate.Dialect.Function;
using NHibernate.SqlCommand;
using System.Data.Common;
using NHibernate.Exceptions;
using NHibernate.Util;
//using NHibernate.Dialect.Schema;
using Environment = NHibernate.Cfg.Environment;
namespace NHibernate.Dialect
{
/// <summary>
/// Summary description for InformixDialect.
/// This dialect is intended to work with IDS version 10.00
/// </summary>
/// <remarks>
/// The InformixDialect defaults the following configuration properties:
/// <list type="table">
/// <listheader>
/// <term>ConnectionDriver</term>
/// <description>NHibernate.Driver.OdbcDriver</description>
/// <term>PrepareSql</term>
/// <description>true</description>
/// </listheader>
/// <item>
/// <term>connection.driver_class</term>
/// <description><see cref="NHibernate.Driver.OdbcDriver" /></description>
/// </item>
/// </list>
/// </remarks>
public class InformixDialect1000 : InformixDialect0940
{
/// <summary></summary>
public InformixDialect1000()
: base()
{
}
/// <summary>
/// Does this Dialect have some kind of <c>LIMIT</c> syntax?
/// </summary>
/// <value>False, unless overridden.</value>
public override bool SupportsLimit
{
get { return true; }
}
/// <summary>
/// Does this Dialect support an offset?
/// </summary>
public override bool SupportsLimitOffset
{
get { return true; }
}
}
}