using Data Access Application Block

Topics: CAB & Smart Client Software Factory
Feb 2, 2006 at 8:25 AM
originally posted by: tomerdr

Hi,
I just began(today) to use cab and i wonder can and should i use the Data Access Application Block with it?
I understand that services contain the business logic layer?


Thanks in advance.
Feb 2, 2006 at 10:20 AM
originally posted by: GregHazzard

sure. I have been using DAAB for testing purposes so I can use real data that I access through a service. You will want to design it correctly but for a quick demo to morph BankTeller quickstart I did this after adding a BankTellerDataAccess project;
public CustomerQueueService()
{
customers = BankTellerDataAccess.SqlHelper.ExecuteNonQuery();

}