2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-26 21:13:13 +00:00
This commit is contained in:
2025-05-30 18:00:10 +03:00
parent 276e7b17fd
commit a720b11959
10 changed files with 58 additions and 33 deletions

View File

@ -257,9 +257,9 @@ public static class Codec
{
var genericType = type.GetGenericTypeDefinition();
if (genericType == typeof(DistributedPropertyContext<>))
if (genericType == typeof(PropertyContext<>))
{
valueOrSource = ((IDistributedPropertyContext)valueOrSource).GetValue(connection);
valueOrSource = ((IPropertyContext)valueOrSource).GetValue(connection);
}
else if (genericType == typeof(Func<>))
{