File tree Expand file tree Collapse file tree
examples/Transfer.IGrains/DTx
test/Vertex.TxRuntime.Test/Biz/Models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- namespace Transfer . IGrains . DTx
1+ using Orleans ;
2+
3+ namespace Transfer . IGrains . DTx
24{
5+ [ GenerateSerializer ]
36 public class TransferRequest
47 {
8+ [ Id ( 0 ) ]
59 public string Id { get ; set ; }
610
11+ [ Id ( 1 ) ]
712 public long FromId { get ; set ; }
813
14+ [ Id ( 2 ) ]
915 public long ToId { get ; set ; }
1016
17+ [ Id ( 3 ) ]
1118 public decimal Amount { get ; set ; }
1219 }
1320}
Original file line number Diff line number Diff line change 1- namespace Vertex . TxRuntime . Test . Biz . Models
1+ using Orleans ;
2+
3+ namespace Vertex . TxRuntime . Test . Biz . Models
24{
5+ [ GenerateSerializer ]
36 public class TransferRequest
47 {
8+ [ Id ( 0 ) ]
59 public string Id { get ; set ; }
610
11+ [ Id ( 1 ) ]
712 public long FromId { get ; set ; }
813
14+ [ Id ( 2 ) ]
915 public long ToId { get ; set ; }
1016
17+ [ Id ( 3 ) ]
1118 public decimal Amount { get ; set ; }
1219
1320 /// <summary>
1421 /// only for test
1522 /// </summary>
23+ [ Id ( 4 ) ]
1624 public bool Success { get ; set ; }
1725 }
1826}
You can’t perform that action at this time.
0 commit comments