Add the ability to change the SQL Write Lock TimeOut (#9750)
Co-authored-by: Shannon <sdeminick@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b9b75b3794
commit
2c54adacf2
@@ -19,7 +19,7 @@ namespace Umbraco.Core.Persistence.SqlSyntax
|
||||
/// All Sql Syntax provider implementations should derive from this abstract class.
|
||||
/// </remarks>
|
||||
/// <typeparam name="TSyntax"></typeparam>
|
||||
public abstract class SqlSyntaxProviderBase<TSyntax> : ISqlSyntaxProvider
|
||||
public abstract class SqlSyntaxProviderBase<TSyntax> : ISqlSyntaxProvider2
|
||||
where TSyntax : ISqlSyntaxProvider
|
||||
{
|
||||
protected SqlSyntaxProviderBase()
|
||||
@@ -235,6 +235,9 @@ namespace Umbraco.Core.Persistence.SqlSyntax
|
||||
|
||||
public abstract void ReadLock(IDatabase db, params int[] lockIds);
|
||||
public abstract void WriteLock(IDatabase db, params int[] lockIds);
|
||||
public abstract void ReadLock(IDatabase db, TimeSpan timeout, int lockId);
|
||||
|
||||
public abstract void WriteLock(IDatabase db, TimeSpan timeout, int lockId);
|
||||
|
||||
public virtual bool DoesTableExist(IDatabase db, string tableName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user