-
-
Notifications
You must be signed in to change notification settings - Fork 122
/
Copy pathCollationFunction.cs
33 lines (29 loc) · 1.13 KB
/
CollationFunction.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
namespace SQLite.CodeFirst
{
/// <summary>
/// The collation function to use for this column.
/// Is used together with the <see cref="CollateAttribute" />, and when setting a default collation for the database.
/// </summary>
public enum CollationFunction
{
None,
/// <summary>
/// The same as binary, except that trailing space characters are ignored.
/// </summary>
RTrim,
/// <summary>
/// The same as binary, except the 26 upper case characters of ASCII are folded to their lower case equivalents before
/// the comparison is performed. Note that only ASCII characters are case folded. SQLite does not attempt to do full
/// UTF case folding due to the size of the tables required.
/// </summary>
NoCase,
/// <summary>
/// Compares string data using memcmp(), regardless of text encoding.
/// </summary>
Binary,
/// <summary>
/// An application can register additional collating functions using the sqlite3_create_collation() interface.
/// </summary>
Custom
}
}