Last change
on this file since 9598 was
9577,
checked in by spimming, 12 years ago
|
#1888:
- Added dal and service interfaces and implementations
- Added dbcontext for billing
|
File size:
402 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Linq;
|
---|
3 | using System.Linq.Expressions;
|
---|
4 |
|
---|
5 | namespace HeuristicLab.Services.Optimization.Billing.DAL {
|
---|
6 |
|
---|
7 | public interface IGenericDao<T, ID> {
|
---|
8 | T FindById(ID id);
|
---|
9 | IQueryable<T> FindBy(Expression<Func<T, bool>> predicate);
|
---|
10 | IQueryable<T> FindAll();
|
---|
11 | void Add(T entity);
|
---|
12 | void Update(T entity);
|
---|
13 | void Delete(T entity);
|
---|
14 | void Commit();
|
---|
15 | }
|
---|
16 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.