forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSybaseAsaClientDriver.cs
38 lines (33 loc) · 966 Bytes
/
SybaseAsaClientDriver.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
using System;
namespace NHibernate.Driver
{
/// <summary>
/// The SybaseAsaClientDriver driver provides a database driver for Adaptive Server Anywhere 9.0.
/// </summary>
public class SybaseAsaClientDriver : ReflectionBasedDriver
{
/// <summary>
/// Initializes a new instance of the <see cref="SybaseAsaClientDriver" /> class.
/// </summary>
/// <exception cref="HibernateException">
/// Thrown when the iAnywhere.Data.AsaClient assembly is not and can not be loaded.
/// </exception>
public SybaseAsaClientDriver()
: base("iAnywhere.Data.AsaClient", "iAnywhere.Data.AsaClient.AsaConnection", "iAnywhere.Data.AsaClient.AsaCommand")
{
}
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 RequiresTimeSpanForTime => true;
}
}