Table load complete. Printer stub removed for actual code.
This commit is contained in:
15
Tanshu.Accounts.Contracts/DAOFactory/PrintLocationDAO.cs
Normal file
15
Tanshu.Accounts.Contracts/DAOFactory/PrintLocationDAO.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
|
||||
namespace Tanshu.Accounts.DAOFactory
|
||||
{
|
||||
public interface IPrintLocationDAO : IDisposable
|
||||
{
|
||||
void Insert(PrintLocationBO printLocation);
|
||||
void Update(PrintLocationBO printLocation);
|
||||
bool Delete(int tableID);
|
||||
PrintLocationBO GetPrintLocation(int printLocationID);
|
||||
PrintLocationBO GetPrintLocation(Guid productTypeID, string location);
|
||||
}
|
||||
}
|
||||
13
Tanshu.Accounts.Contracts/Data Contracts/PrintLocationBO.cs
Normal file
13
Tanshu.Accounts.Contracts/Data Contracts/PrintLocationBO.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Tanshu.Accounts.Contracts
|
||||
{
|
||||
public class PrintLocationBO
|
||||
{
|
||||
public int PrintLocationID { get; set; }
|
||||
public Guid ProductTypeID { get; set; }
|
||||
public string Location { get; set; }
|
||||
public string Printer { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.ServiceModel;
|
||||
|
||||
using System.Data.SqlClient;
|
||||
|
||||
namespace Tanshu.Accounts.Contracts
|
||||
{
|
||||
public interface IPrintLocationBI
|
||||
{
|
||||
void Insert(PrintLocationBO printLocation);
|
||||
void Update(PrintLocationBO printLocation);
|
||||
bool Delete(int tableID);
|
||||
PrintLocationBO GetPrintLocation(int printLocationID);
|
||||
PrintLocationBO GetPrintLocation(Guid productTypeID, string location);
|
||||
}
|
||||
}
|
||||
@ -56,6 +56,7 @@
|
||||
<Compile Include="Communication\Delegates.cs" />
|
||||
<Compile Include="DAOFactory\CheckoutDAO.cs" />
|
||||
<Compile Include="DAOFactory\AdvanceDAO.cs" />
|
||||
<Compile Include="DAOFactory\PrintLocationDAO.cs" />
|
||||
<Compile Include="DAOFactory\FoodTableDAO.cs" />
|
||||
<Compile Include="DAOFactory\ProductTypeDAO.cs" />
|
||||
<Compile Include="DAOFactory\ManagementDAO.cs" />
|
||||
@ -76,6 +77,7 @@
|
||||
<Compile Include="Data Contracts\AdvanceDisplayBO.cs" />
|
||||
<Compile Include="Data Contracts\ComplexProductBO.cs" />
|
||||
<Compile Include="Data Contracts\BillItemKey.cs" />
|
||||
<Compile Include="Data Contracts\PrintLocationBO.cs" />
|
||||
<Compile Include="Data Contracts\FoodTableBO.cs" />
|
||||
<Compile Include="Data Contracts\SalarySheetBO.cs" />
|
||||
<Compile Include="Data Contracts\SalarySheetDisplayBO.cs" />
|
||||
@ -112,6 +114,7 @@
|
||||
<Compile Include="Roles.cs" />
|
||||
<Compile Include="Service Contracts\AdvanceBI.cs" />
|
||||
<Compile Include="Service Contracts\CheckoutBI.cs" />
|
||||
<Compile Include="Service Contracts\PrintLocationBI.cs" />
|
||||
<Compile Include="Service Contracts\FoodTableBI.cs" />
|
||||
<Compile Include="Service Contracts\ProductTypesBI.cs" />
|
||||
<Compile Include="Service Contracts\CustomerBI.cs" />
|
||||
|
||||
Reference in New Issue
Block a user