forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIfxDriver.cs
38 lines (35 loc) · 813 Bytes
/
IfxDriver.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
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the Informix DataProvider
/// </summary>
public class IfxDriver : ReflectionBasedDriver
{
/// <summary>
/// Initializes a new instance of the <see cref="IfxDriver"/> class.
/// </summary>
/// <exception cref="HibernateException">
/// Thrown when the <c>IBM.Data.Informix</c> assembly can not be loaded.
/// </exception>
public IfxDriver()
: base(
"IBM.Data.Informix",
"IBM.Data.Informix",
"IBM.Data.Informix.IfxConnection",
"IBM.Data.Informix.IfxCommand")
{
}
public override bool UseNamedPrefixInSql
{
get { return false; }
}
public override bool UseNamedPrefixInParameter
{
get { return false; }
}
public override string NamedPrefix
{
get { return ":"; }
}
}
}