|
@@ -259,7 +259,7 @@ namespace TEAMModelOS.SDK.DI
|
|
|
|
|
|
public static async Task<List<T>> DeleteAll<T>(this AzureStorageFactory azureStorage, List<T> entitys) where T : TableEntity, new()
|
|
|
{
|
|
|
- if (entitys.IsEmpty())
|
|
|
+ if (!entitys.IsNotEmpty())
|
|
|
{
|
|
|
return null;
|
|
|
}
|
|
@@ -300,7 +300,7 @@ namespace TEAMModelOS.SDK.DI
|
|
|
|
|
|
public static async Task<List<T>> SaveOrUpdateAll<T>(this AzureStorageFactory azureStorage, List<T> entitys) where T : TableEntity, new()
|
|
|
{
|
|
|
- if (entitys.IsEmpty())
|
|
|
+ if (!entitys.IsNotEmpty())
|
|
|
{
|
|
|
return null;
|
|
|
}
|
|
@@ -340,7 +340,7 @@ namespace TEAMModelOS.SDK.DI
|
|
|
}
|
|
|
public static async Task<List<T>> UpdateAll<T>(this AzureStorageFactory azureStorageFactory, List<T> entitys) where T : TableEntity, new()
|
|
|
{
|
|
|
- if (entitys.IsEmpty())
|
|
|
+ if (!entitys.IsNotEmpty())
|
|
|
{
|
|
|
return null;
|
|
|
}
|
|
@@ -380,7 +380,7 @@ namespace TEAMModelOS.SDK.DI
|
|
|
}
|
|
|
public static async Task<List<T>> SaveAll<T>(this AzureStorageFactory azureStorage, List<T> entitys) where T : TableEntity, new()
|
|
|
{
|
|
|
- if (entitys.IsEmpty())
|
|
|
+ if (!entitys.IsNotEmpty())
|
|
|
{
|
|
|
return null;
|
|
|
}
|