root/trunk/eCard/eCardMVC/Platnosci.Core/Interface/IRepositoryPT.cs @ 867

Wersja 866, 1.2 KB (wprowadzona przez alina, 16 years temu)

re #215

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