Table load complete. Printer stub removed for actual code.

This commit is contained in:
unknown
2011-01-14 01:51:02 +05:30
parent c63bc62304
commit 76cd512ebc
16 changed files with 230 additions and 29 deletions

View 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);
}
}

View 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; }
}
}

View File

@ -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);
}
}

View File

@ -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" />