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

fix generator

This commit is contained in:
2022-06-16 03:02:14 +03:00
parent 80922a13ee
commit f5e61d4b86
14 changed files with 159 additions and 80 deletions

View File

@ -11,7 +11,7 @@ namespace Test
[Annotation("A", "B", "C", "D")]
public partial class MyResource
{
[Public] string description;
[Public][Annotation("Comment")] string description;
[Public] int categoryId;
}
}

View File

@ -94,6 +94,10 @@ namespace Test
{
dynamic remote = await Warehouse.Get<IResource>("iip://localhost/mem/service");
var con = remote.Connection as DistributedConnection;
var template = await con.GetTemplateByClassName("Test.MyResource");
TestObjectProps(local, remote);
var gr = await remote.GetGenericRecord();
@ -184,5 +188,9 @@ namespace Test
}
}
}