Skip to content

Commit d8f3449

Browse files
Rename a new property (to be squashed, and all my other commits too).
1 parent 267977d commit d8f3449

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/NHibernate/Dialect/Dialect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ public virtual string ForUpdateString
528528

529529
/// <summary>Is <c>FOR UPDATE OF</c> syntax supported?</summary>
530530
/// <value><see langword="true"/> if the database supports <c>FOR UPDATE OF</c> syntax; <see langword="false"/> otherwise. </value>
531-
public virtual bool ForUpdateOf
531+
public virtual bool SupportsForUpdateOf
532532
// By default, just check ForUpdateOfColumns. ForUpdateOf needs to be overriden only for dialect suppoting
533533
// "For Update Of" on table aliases.
534534
=> ForUpdateOfColumns;

src/NHibernate/Dialect/PostgreSQLDialect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public override SqlString GetLimitString(SqlString queryString, SqlString offset
228228
}
229229

230230
/// <inheritdoc />
231-
public override bool ForUpdateOf => true;
231+
public override bool SupportsForUpdateOf => true;
232232

233233
/// <inheritdoc />
234234
public override bool SupportsOuterJoinForUpdate => false;

src/NHibernate/SqlCommand/SqlSelectBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ private string GetForUpdateString()
311311
if (!isUpgrade && !isUpgradeNoWait)
312312
return string.Empty;
313313

314-
if (!Dialect.ForUpdateOf)
314+
if (!Dialect.SupportsForUpdateOf)
315315
{
316316
log.Warn(
317317
"Unsupported 'for update' case: 'for update' query with an outer join using a dialect not" +

0 commit comments

Comments
 (0)