-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathSqlSyntax.cs
More file actions
52 lines (42 loc) · 1.42 KB
/
SqlSyntax.cs
File metadata and controls
52 lines (42 loc) · 1.42 KB
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
namespace Dapper;
// THIS FILE MUST BE KEPT IN SYNC BETWEEN THE LIB AND ANALYZERS
/// <summary>
/// Indicates the family of SQL variant used
/// </summary>
public enum SqlSyntax
{
// RESERVED: 0
/// <summary>
/// General purpose SQL; handles most common variants, but with low fidelity; multiple parameter
/// conventions may work, including <c>@value</c> and <c>:value</c>
/// </summary>
General = 1,
/// <summary>
/// General purpose SQL, using the <c>@value</c> parameter convention
/// </summary>
GeneralWithAtParameters = 2,
/// <summary>
/// General purpose SQL, using the <c>:value</c> parameter convention
/// </summary>
GeneralWithColonParameters = 3,
/// <summary>
/// SQL Server (<a href="https://learn.microsoft.com/sql/t-sql/language-reference">Transact-SQL</a>)using the <c>@value</c> parameter convention; has full syntax processing support
/// </summary>
SqlServer = 100,
/// <summary>
/// PostgreSQL, using the <c>:value</c> parameter convention
/// </summary>
PostgreSql = 200,
/// <summary>
/// MySQL and MariaDB, using the <c>@value</c> parameter convention
/// </summary>
MySql = 300,
/// <summary>
/// Oracle, using the <c>:value</c> parameter convention
/// </summary>
Oracle = 400,
/// <summary>
/// SQLite, using the <c>@value</c> parameter convention
/// </summary>
SQLite = 500,
}