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.
Zero/ZeroLevel/Services/Queries/Storage/IStorage.cs

23 lines
403 B

6 years ago
using System.Collections.Generic;
namespace ZeroLevel.Patterns.Queries
{
public interface IStorage<T>
{
IEnumerable<T> Get();
6 years ago
IEnumerable<T> Get(IQuery query);
6 years ago
QueryResult Count();
6 years ago
QueryResult Count(IQuery query);
6 years ago
QueryResult Post(T obj);
6 years ago
QueryResult Remove(T obj);
6 years ago
QueryResult Remove(IQuery query);
void Drop();
}
}

Powered by TurnKey Linux.