You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/NHibernate/Dialect/SybaseASE16Dialect.cs
+12-36
Original file line number
Diff line number
Diff line change
@@ -20,53 +20,31 @@ namespace NHibernate.Dialect
20
20
/// </remarks>
21
21
publicclassSybaseASE16Dialect:SybaseASE15Dialect
22
22
{
23
-
#region Limit/offset support
24
-
25
23
/// <summary>
26
-
/// Does this Dialect have some kind of <c>LIMIT</c> syntax?
24
+
/// ASE 16 supports limit statements, see: https://help.sap.com/docs/SAP_ASE/e0d4539d39c34f52ae9ef822c2060077/26d84b4ddae94fed89d4e7c88bc8d1e6.html?locale=en-US
27
25
/// </summary>
28
-
/// <value>False, unless overridden.</value>
29
-
publicoverrideboolSupportsLimit
30
-
{
31
-
get{returntrue;}
32
-
}
26
+
/// <returns>true</returns>
27
+
publicoverrideboolSupportsLimit=>true;
33
28
34
-
/// <summary>
35
-
/// Does this Dialect support an offset?
36
-
/// </summary>
37
-
publicoverrideboolSupportsLimitOffset
38
-
{
39
-
get{returntrue;}
40
-
}
29
+
/// <inheritdoc />
30
+
/// <returns>true</returns>
31
+
publicoverrideboolSupportsLimitOffset=>true;
41
32
42
-
/// <summary>
43
-
/// Can parameters be used for a statement containing a LIMIT?
44
-
/// </summary>
45
-
publicoverrideboolSupportsVariableLimit
46
-
{
47
-
get{returnfalse;}
48
-
}
33
+
/// <inheritdoc />
34
+
/// <returns>false</returns>
35
+
publicoverrideboolSupportsVariableLimit=>false;
49
36
50
-
/// <summary>
51
-
/// Attempts to add a <c>LIMIT</c> clause to the given SQL <c>SELECT</c>.
52
-
/// Expects any database-specific offset and limit adjustments to have already been performed (ex. UseMaxForLimit, OffsetStartsAtOne).
53
-
/// </summary>
54
-
/// <param name="queryString">The <see cref="SqlString"/> to base the limit query off.</param>
55
-
/// <param name="offset">Offset of the first row to be returned by the query. This may be represented as a parameter, a string literal, or a null value if no limit is requested. This should have already been adjusted to account for OffsetStartsAtOne.</param>
56
-
/// <param name="limit">Maximum number of rows to be returned by the query. This may be represented as a parameter, a string literal, or a null value if no offset is requested. This should have already been adjusted to account for UseMaxForLimit.</param>
57
-
/// <returns>A new <see cref="SqlString"/> that contains the <c>LIMIT</c> clause. Returns <c>null</c>
58
-
/// if <paramref name="queryString"/> represents a SQL statement to which a limit clause cannot be added,
59
-
/// for example when the query string is custom SQL invoking a stored procedure.</returns>
0 commit comments