0797デフォルトの名無しさん (ワントンキン MM9f-+LVy)
2017/08/31(木) 07:53:46.13ID:5L4gV5sHMinterface IDao<TEntity, TId> {
TEntity ReadOne(TId id);
IEnumerable<TEntity> ReadPage(int pageSize, int pageIndex);
void Create(TEntity e);
void Update(TEntity e);
void Delete(TEntity e);
}
class FooDao : IDao<Foo> { ... }
これじゃいかんのか?