SqlCollationSpec structure
namespace: Serenity.Data assembly: Serenity.Net.Services
An engine independent description of the comparison a collation should perform.
public struct SqlCollationSpec : IEquatable<SqlCollationSpec>
| parameter | description |
|---|---|
| Culture | The culture name, an empty string for the invariant culture, or null for an ordinal comparison. |
| IgnoreCase | True to compare case insensitively. |
| IgnoreAccents | True to compare accent insensitively. |
Public Members
| name | description |
|---|---|
| SqlCollationSpec(…) | An engine independent description of the comparison a collation should perform. |
| Culture { get; set; } | The culture name, an empty string for the invariant culture, or null for an ordinal comparison. |
| IgnoreAccents { get; set; } | True to compare accent insensitively. |
| IgnoreCase { get; set; } | True to compare case insensitively. |
| override ToString() | |
| static TryParse(…) | Tries to parse a comparer specification as accepted by ComparerResolver, e.g. "Ordinal", "OrdinalIgnoreCase", "InvariantCulture" or "tr-TR:IgnoreCase:IgnoreAccents". |
See Also
- Source: SqlCollationSpec.cs