Zbiór zmian 867 dla trunk/eCard/eCardMVC/Platnosci.Core/Linq/Repository.cs
- Data:
- 2009-10-30 12:05:28 (16 years ago)
- Pliki:
-
- 1 zmodyfikowane
-
trunk/eCard/eCardMVC/Platnosci.Core/Linq/Repository.cs (zmodyfikowane) (2 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/eCard/eCardMVC/Platnosci.Core/Linq/Repository.cs
r866 r867 30 30 public T FindOne(int id) 31 31 { 32 return FindOne(t => t.I D_faktury== id);32 return FindOne(t => t.Id == id); 33 33 } 34 34 public T FindOne(Expression<Func<T, bool>> expression) … … 83 83 public IQueryable<T> Find(int id) 84 84 { 85 return _dataContext.GetTable<T>().Where(t => t.I D_faktury== id);85 return _dataContext.GetTable<T>().Where(t => t.Id == id); 86 86 } 87 87 public IQueryable<T> Find(Expression<Func<T, bool>> expression)
