30 lines
736 B
C#
30 lines
736 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Data.SqlTypes;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.RegularExpressions;
|
|
using BeWo.Data.Access;
|
|
using BeWo.Data.Entities;
|
|
|
|
using BS.Shared.Extensions;
|
|
|
|
using BS.Shared.Core;
|
|
using BS.Shared;
|
|
using NHibernate.Criterion;
|
|
using NHibernate.SqlCommand;
|
|
|
|
namespace CaritasAhlen.Service
|
|
{
|
|
public class CustomDAO : AbstractBaseDAO
|
|
{
|
|
public virtual IList<Customer> FindCustomerByDebitorNumber(string debitor)
|
|
{
|
|
return CreateCriteriaIsActiveOrArchived<Customer>()
|
|
.Add(Restrictions.Eq(Customer.PropertyName_DebitorNumber, debitor))
|
|
.List<Customer>();
|
|
}
|
|
}
|
|
}
|