Méthode | Description | |
---|---|---|
FirmService ( IRepository |
||
GetAllFirms ( ) : IEnumerable |
Gets a list of firms with the latest revision of each eventually this would be the ideal query, until nhibernate supports it from firm in Firms where (from a in Firms group a by a.FirmCode into b select b.Max(c=>c.Id) ).Contains(firm.Id) select firm |
|
GetFirm ( System.Guid firmCode ) : Firm |
Gets the latest revision of a specific firm
|
public FirmService ( IRepository |
||
firmRepository | IRepository |
|
Résultat | System |
public GetFirm ( System.Guid firmCode ) : Firm | ||
firmCode | System.Guid | |
Résultat | Firm |