20 lines
494 B
C#
20 lines
494 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using Tanshu.Accounts.Contracts;
|
|||
|
|
|||
|
namespace Tanshu.Accounts.DAOFactory
|
|||
|
{
|
|||
|
public interface IWaiterDAO : IDisposable
|
|||
|
{
|
|||
|
bool Insert(WaiterBO waiter);
|
|||
|
bool Update(WaiterBO waiter);
|
|||
|
bool Delete(Guid waiterID);
|
|||
|
|
|||
|
WaiterBO GetWaiter(Guid waiterID);
|
|||
|
WaiterBO GetWaiter(int code);
|
|||
|
|
|||
|
List<WaiterBO> GetWaiters();
|
|||
|
List<WaiterBO> GetFilteredWaiters(Dictionary <string,string> filter);
|
|||
|
}
|
|||
|
}
|