-
Notifications
You must be signed in to change notification settings - Fork 934
/
Copy pathDB2400Driver.cs
43 lines (38 loc) · 928 Bytes
/
DB2400Driver.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
using System;
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the IBM.Data.DB2.iSeries DataProvider.
/// </summary>
public class DB2400Driver : ReflectionBasedDriver
{
/// <summary>
/// Initializes a new instance of the <see cref="DB2400Driver"/> class.
/// </summary>
/// <exception cref="HibernateException">
/// Thrown when the <c>IBM.Data.DB2.iSeries</c> assembly can not be loaded.
/// </exception>
public DB2400Driver() : base(
"IBM.Data.DB2.iSeries",
"IBM.Data.DB2.iSeries.iDB2Connection",
"IBM.Data.DB2.iSeries.iDB2Command")
{
}
public override bool UseNamedPrefixInSql
{
get { return false; }
}
public override bool UseNamedPrefixInParameter
{
get { return false; }
}
public override string NamedPrefix
{
get { return String.Empty; }
}
public override bool SupportsMultipleOpenReaders
{
get { return false; }
}
}
}