Added stores for groups, group chatters and group permissions. Fixed some logging text.

This commit is contained in:
Tom
2025-01-16 23:17:04 +00:00
parent ee3f128a9f
commit 422cd91db2
10 changed files with 251 additions and 41 deletions

View File

@@ -18,7 +18,8 @@ namespace HermesSocketServer.Store.Internal
public GroupSaveSqlGenerator(IDictionary<string, string> columnsToProperties, IDictionary<string, string> columnTypes, Serilog.ILogger logger)
{
_columnPropertyRelations = columnsToProperties.ToDictionary(p => p.Key, p => typeof(T).GetProperty(p.Value));
var type = typeof(T);
_columnPropertyRelations = columnsToProperties.ToDictionary(p => p.Key, p => type.GetProperty(p.Value));
_columnTypes = columnTypes;
_logger = logger;