Quick Objects Documentation Akal Tech Logo
First Step

Glossary Item Box

To get started, follow the steps outlined below and you will be using the power of Quick Objects Business Logic Framework in a few minutes.

Not sure what Business Logic Framework is? You can read the introduction to Business Logic Framework here.

Steps:

  1. Create a New Project or Open an Existing Project where you would like to connect to any of the supported databases. 
     
  2. Add a Reference to the QuickObjects.DBLibrary.dll and QuickObjects.ObjectBase.dll. You must also add QuickObjects.TimeZones.dll if you are going to be enabling automatic timezones translations in the business objects. The setup installs the required libraries into the {Install Folder}\NET20\BIN\Deployment and you can use these files for deploying your applications. For XCOPY deployment license files for each product must also be included or as an alternate the runtime license keys can be saved in the configuration file.

    EnlargeClick to enlarge
     
  3. Add a App.config or Web.config file to your project based on the type of project you are creating. If the file already exists, you can skip this step. 
     
  4. Open the App.config or Web.config file (Assuming that you are connecting to a SQL Server 2005 instance named SQLExpress running on your local computer. However, just replace the value of database key/connection string with your own connection string. Please note that you must set the appropriate database type in the database_type key value.) The following examples use the "database_type" and "database" as key names, however these can be modified by setting the  ConnectionStringConfigName and DatabaseTypeConfigName properties.
     
    1. .NET Framework 1.1 
       
      • Create a new entry in the Configuration section as shown below
        <appSettings>
           <add key="database_type" value="SqlServer2005" />
          <add key="database" value="Server=.\SQLExpress;
           Database=QO_Shop;User ID=MyUserName;Password=MyPassword;
           User Instance=false;" />
        </appSettings> 
         
    2. .NET Framework 2.0 
       
      • Create a new entry in the Configuration section as shown below
        <appSettings>
          <add key="database_type" value="SqlServer2005" />
        </appSettings>
      • Then add another entry in for connectionStrings as shown below
        <connectionStrings>
          <add name="database" connectionString="Server=.\SQLExpress;
           Database=QO_Shop;User ID=MyUserName;Password=MyPassword;
           User Instance=false;" providerName="System.Data.SqlClient" />
        </connectionStrings> 
         
  5. Now you are ready to design your business logic classes, an alternative would be to use the QuickObjects Designer application and it can generate your business logic layer classes in just a few minutes.