51d518d2a0
The functions now only do one thing.
18 lines
372 B
C#
18 lines
372 B
C#
using System.Collections.Generic;
|
|
using NHibernate;
|
|
using Tanshu.Accounts.Entities;
|
|
|
|
|
|
namespace Tanshu.Accounts.Repository
|
|
{
|
|
public class CustomerBI : UnitOfWork<Customer>
|
|
{
|
|
public new IList<Customer> List()
|
|
{
|
|
return _session.QueryOver<Customer>()
|
|
.OrderBy(x => x.Name).Asc
|
|
.List();
|
|
}
|
|
}
|
|
}
|