| Line | |
|---|
| 1 | using System;
|
|---|
| 2 | using System.Collections.Generic;
|
|---|
| 3 | using System.Linq;
|
|---|
| 4 | using System.Linq.Expressions;
|
|---|
| 5 | using System.Text;
|
|---|
| 6 | using Platnosci.Core.Interface;
|
|---|
| 7 | using Platnosci.Core.Linq;
|
|---|
| 8 |
|
|---|
| 9 | namespace Platnosci.Core.Interface
|
|---|
| 10 | {
|
|---|
| 11 | public interface IRepositoryPE
|
|---|
| 12 | {
|
|---|
| 13 | int Count();
|
|---|
| 14 |
|
|---|
| 15 | int Count(Expression<Func<PlatnosciEcard, bool>> expression);
|
|---|
| 16 |
|
|---|
| 17 | void Insert(PlatnosciEcard entity);
|
|---|
| 18 |
|
|---|
| 19 | void Delete(PlatnosciEcard entity);
|
|---|
| 20 |
|
|---|
| 21 | void Update(PlatnosciEcard entity);
|
|---|
| 22 |
|
|---|
| 23 | PlatnosciEcard FindOne(int id);
|
|---|
| 24 |
|
|---|
| 25 | PlatnosciEcard FindOne(Expression<Func<PlatnosciEcard, bool>> expression);
|
|---|
| 26 |
|
|---|
| 27 | bool TryFindOne(Expression<Func<PlatnosciEcard, bool>> expression, out PlatnosciEcard entity);
|
|---|
| 28 |
|
|---|
| 29 | bool Exists(Expression<Func<PlatnosciEcard, bool>> expression);
|
|---|
| 30 |
|
|---|
| 31 | IList<PlatnosciEcard> FindAll();
|
|---|
| 32 |
|
|---|
| 33 | IList<PlatnosciEcard> FindAll(Expression<Func<PlatnosciEcard, bool>> expression);
|
|---|
| 34 |
|
|---|
| 35 | IQueryable<PlatnosciEcard> Find();
|
|---|
| 36 |
|
|---|
| 37 | IQueryable<PlatnosciEcard> Find(int id);
|
|---|
| 38 |
|
|---|
| 39 | IQueryable<PlatnosciEcard> Find(Expression<Func<PlatnosciEcard, bool>> expression);
|
|---|
| 40 | }
|
|---|
| 41 | }
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.