2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-26 21:13:13 +00:00

Generic Record/Resource

This commit is contained in:
2022-06-06 23:19:23 +03:00
parent 499f1e37d2
commit fbae3eb960
4 changed files with 27 additions and 10 deletions

View File

@ -95,7 +95,9 @@ namespace Test
dynamic remote = await Warehouse.Get<IResource>("iip://localhost/mem/service");
TestObjectProps(local, remote);
var r = await remote.GetRecords();
var gr = await remote.GetGenericRecord();
Console.WriteLine(gr);
var opt = await remote.Optional(new { a1 = 22, a2 = 33, a4 = "What?" });
Console.WriteLine(opt);