Data Access Layer

Now that I have completed the Business Objects it’s time to tackle the DAL(Data Access Layer).Generally speaking, when you create your DAL start simple. Using snippy I created a personnel snippy that looks like this: using System;using System.Collections.Generic;using System.Data;using System.Data.Common;using Model;using Microsoft.Practices.EnterpriseLibrary; // Download from hereusing Microsoft.Practices.EnterpriseLibrary.Data; namespace DAL{public interface I(){List getAll();void insert( args);void update( […]

Creating the Model

As I embark on the task of converting the Powerbuilder Application to Visual Studio, I follow the usual steps I take when creating a new application. The first step is to create the database, but since this is an existing application, that step has already been taken care of. However, there is a challenge – […]

Visual Studio 2008

Well, we finally got the VS 2008 Professional Edition at work and I am having trouble installing the product. Not because of the Setup process but because of the way the people partitioned the machine. I am hoping that the convertion from PowerBuilder to VS is going to be easier using the 2008 tool. We’ll […]

Converting Powerbuilder to .NET

PowerBuilder 11.x has a fantastic feature, it allows PowerBuilder developers to deploy their old applications into .NET 2.0 framework applications – either windows based or web based. There is one small problem with this “feature”, the code you are writing is still Sybase code. A major disadvantage, I believe, is that the code generated by […]