Last change
on this file since 16189 was
9653,
checked in by spimming, 12 years ago
|
#1888:
- Set flag to indicate a modified model object
- Add dao query method to specify includes as parameter
- cleaned up the using of namespaces to qualify types
|
File size:
385 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 InsertOrUpdate(T entity);
|
---|
12 | void Delete(T entity);
|
---|
13 | void Commit();
|
---|
14 | }
|
---|
15 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.