You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Data/Storage/IStorageMiddleware.cs

15 lines
511 B

using Connected.Data.Storage;
using Connected.Entities;
using Connected.Entities.Storage;
namespace Connected.Data;
public interface IStorageMiddleware : IQueryProvider, IMiddleware
{
bool SupportsEntity(Type entityType);
IStorageOperation CreateOperation<TEntity>(TEntity entity)
where TEntity : IEntity;
IStorageReader<TEntity> OpenReader<TEntity>(IStorageOperation operation, IStorageConnection connection);
IStorageWriter OpenWriter(IStorageOperation operation, IStorageConnection connection);
}