Zbiór zmian 867 dla trunk/eCard/eCardMVC/Platnosci.Core
- Data:
- 2009-10-30 12:05:28 (16 years ago)
- Lokalizacja:
- trunk/eCard/eCardMVC/Platnosci.Core
- Pliki:
-
- 4 zmodyfikowane
-
Interface/IIdentifiable.cs (zmodyfikowane) (1 diff)
-
Linq/PlatnosciEcard.cs (zmodyfikowane) (1 diff)
-
Linq/Repository.cs (zmodyfikowane) (2 diffs)
-
Linq/vPlatnosciEcard.cs (zmodyfikowane) (1 diff)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
trunk/eCard/eCardMVC/Platnosci.Core/Interface/IIdentifiable.cs
r866 r867 8 8 public interface IIdentifiable 9 9 { 10 int I D_faktury { get; set; }10 int Id { get; } 11 11 } 12 12 } -
trunk/eCard/eCardMVC/Platnosci.Core/Linq/PlatnosciEcard.cs
r866 r867 5 5 namespace Platnosci.Core.Linq 6 6 { 7 public partial class PlatnosciEcard 7 public partial class PlatnosciEcard : IIdentifiable 8 8 { 9 public int Id 10 { 11 get 12 { 13 return this.ORDERNUMBER; 14 } 15 } 16 9 17 } 10 18 } -
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) -
trunk/eCard/eCardMVC/Platnosci.Core/Linq/vPlatnosciEcard.cs
r866 r867 14 14 } 15 15 } 16 17 public int Id 18 { 19 get { return this.ID_faktury; } 20 } 16 21 } 17 22 }
