[WIP] Add debug output of entities
This commit is contained in:
		
							parent
							
								
									9381a4e4c6
								
							
						
					
					
						commit
						018a48dd65
					
				@ -82,6 +82,8 @@ public abstract class EntityCacheClient<TEntity, TPrimaryKey> : StatefulCacheCli
 | 
				
			|||||||
		if (context.GetService<IStorageProvider>() is not IStorageProvider provider)
 | 
							if (context.GetService<IStorageProvider>() is not IStorageProvider provider)
 | 
				
			||||||
			return default;
 | 
								return default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							var entities = provider.Open<TEntity>().AsEntities();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		return await (from dc in provider.Open<TEntity>()
 | 
							return await (from dc in provider.Open<TEntity>()
 | 
				
			||||||
						  where TypeComparer.Compare(dc.Id, id)
 | 
											  where TypeComparer.Compare(dc.Id, id)
 | 
				
			||||||
						  select dc).AsEntity();
 | 
											  select dc).AsEntity();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user