add collection base for configs; table updates

This commit is contained in:
2021-01-14 14:31:04 +01:00
parent d11e18e8b2
commit b3d8d65a4b
16 changed files with 214 additions and 35 deletions
+5 -5
View File
@@ -54,10 +54,10 @@ namespace zero.Core.Integrations
return false;
}
if (types.Any(x => x.IsAutoActivated))
{
return true;
}
//if (types.Any(x => x.IsAutoActivated))
//{
// return true;
//}
string[] aliases = types.Select(x => x.Alias).ToArray();
@@ -79,7 +79,7 @@ namespace zero.Core.Integrations
using IAsyncDocumentSession session = Store.OpenAsyncSession();
T integration = await session.Query<T>().FirstOrDefaultAsync(x => x.TypeAlias == type.Alias && x.IsActive);
if (integration == null && type.IsAutoActivated)
if (integration == null)// && type.IsAutoActivated)
{
return new T();
}