mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 04:59:34 +08:00
Synchronization code
This commit is contained in:
parent
d24f9be8a0
commit
001471dc57
@ -122,6 +122,10 @@ namespace SqlSugar
|
||||
{
|
||||
CheckConnection();
|
||||
}
|
||||
public virtual async Task OpenAsync()
|
||||
{
|
||||
await CheckConnectionAsync();
|
||||
}
|
||||
public SugarConnection OpenAlways()
|
||||
{
|
||||
SugarConnection result = new SugarConnection();
|
||||
|
@ -174,7 +174,9 @@ namespace SqlSugar
|
||||
|
||||
void Dispose();
|
||||
void Close();
|
||||
Task CloseAsync();
|
||||
void Open();
|
||||
Task OpenAsync();
|
||||
SugarConnection OpenAlways();
|
||||
bool IsValidConnection();
|
||||
bool IsValidConnectionNoClose();
|
||||
|
Loading…
Reference in New Issue
Block a user