Pokaż
Ignoruj:
Data:
2009-10-30 12:05:28 (16 years ago)
Autor:
alina
Opis:

re #215 zmiany Site.master

Lokalizacja:
trunk/eCard/eCardMVC/Platnosci.Core
Pliki:
4 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/eCard/eCardMVC/Platnosci.Core/Interface/IIdentifiable.cs

    r866 r867  
    88    public interface IIdentifiable 
    99    { 
    10         int ID_faktury { get; set; } 
     10        int Id { get; } 
    1111    } 
    1212} 
  • trunk/eCard/eCardMVC/Platnosci.Core/Linq/PlatnosciEcard.cs

    r866 r867  
    55namespace Platnosci.Core.Linq 
    66{ 
    7     public partial class PlatnosciEcard  
     7    public partial class PlatnosciEcard : IIdentifiable 
    88    { 
     9        public int Id 
     10        { 
     11            get 
     12            { 
     13                return this.ORDERNUMBER; 
     14            } 
     15        } 
     16 
    917    } 
    1018} 
  • trunk/eCard/eCardMVC/Platnosci.Core/Linq/Repository.cs

    r866 r867  
    3030        public T FindOne(int id) 
    3131        { 
    32             return FindOne(t => t.ID_faktury == id);             
     32            return FindOne(t => t.Id == id);             
    3333        }         
    3434        public T FindOne(Expression<Func<T, bool>> expression) 
     
    8383        public IQueryable<T> Find(int id) 
    8484        { 
    85             return _dataContext.GetTable<T>().Where(t => t.ID_faktury == id); 
     85            return _dataContext.GetTable<T>().Where(t => t.Id == id); 
    8686        } 
    8787        public IQueryable<T> Find(Expression<Func<T, bool>> expression) 
  • trunk/eCard/eCardMVC/Platnosci.Core/Linq/vPlatnosciEcard.cs

    r866 r867  
    1414            } 
    1515        } 
     16 
     17        public int Id 
     18        { 
     19            get { return this.ID_faktury; } 
     20        } 
    1621    } 
    1722}