@@ -59,7 +59,7 @@ public async Task<string> Add()
5959 {
6060 Name = "SingleRecordBasic.Add" ,
6161 Version = 1 ,
62- StoreSchemas = [ SchemaHelper . GetStoreSchema < Record > ( null , false ) ]
62+ StoreSchemas = [ SchemaHelper . GetStoreSchema ( typeof ( Record ) ) ]
6363 } ) ;
6464 var id = await database . AddAsync < Record , int > ( NewSample ) ;
6565 return id . ToString ( ) ;
@@ -71,7 +71,7 @@ public async Task<string> Delete()
7171 {
7272 Name = "SingleRecordBasic.Delete" ,
7373 Version = 1 ,
74- StoreSchemas = [ SchemaHelper . GetStoreSchema < Record > ( null , false ) ]
74+ StoreSchemas = [ SchemaHelper . GetStoreSchema ( typeof ( Record ) ) ]
7575 } ) ;
7676 _ = await database . AddAsync < Record , int > ( NewSample ) ;
7777 await database . DeleteAsync ( NewSample ) ;
@@ -84,7 +84,7 @@ public async Task<string> Update()
8484 {
8585 Name = "SingleRecordBasic.Update" ,
8686 Version = 1 ,
87- StoreSchemas = [ SchemaHelper . GetStoreSchema < Record > ( null , false ) ]
87+ StoreSchemas = [ SchemaHelper . GetStoreSchema ( typeof ( Record ) ) ]
8888 } ) ;
8989 _ = await database . AddAsync < Record , int > ( NewSample ) ;
9090
@@ -100,7 +100,7 @@ public async Task<string> GetById()
100100 {
101101 Name = "SingleRecordBasic.GetById" ,
102102 Version = 1 ,
103- StoreSchemas = [ SchemaHelper . GetStoreSchema < Record > ( null , false ) ]
103+ StoreSchemas = [ SchemaHelper . GetStoreSchema ( typeof ( Record ) ) ]
104104 } ) ;
105105 var id = await database . AddAsync < Record , int > ( NewSample ) ;
106106 var result = await database . GetByIdAsync < Record > ( id ) ;
@@ -113,7 +113,7 @@ public async Task<string> GetAll()
113113 {
114114 Name = "SingleRecordBasic.GetAll" ,
115115 Version = 1 ,
116- StoreSchemas = [ SchemaHelper . GetStoreSchema < Record > ( null , false ) ]
116+ StoreSchemas = [ SchemaHelper . GetStoreSchema ( typeof ( Record ) ) ]
117117 } ) ;
118118 _ = await database . AddAsync < Record , int > ( NewSample ) ;
119119 var result = await database . GetAllAsync < Record > ( ) ;
0 commit comments