Click here to Skip to main content
Click here to Skip to main content
Articles » Database » Database » General » Downloads
 
Add your own
alternative version
Go to top

A Helpful Database Library

, 6 Dec 2006
This article illustrates a helpful database library.
mydatabaselibrary_exe.zip
MyDatabaseLibrary.dll
WinDB for CodeProject.exe
Interop.ADODB.dll
Interop.MSDASC.dll
windb_for_codeproject_source.zip
WinDB for CodeProject
MyDatabaseLibrary
bin
Debug
Interop.ADODB.dll
Interop.MSDASC.dll
MyDatabaseLibrary.dll
Release
ClassDiagram1.cd
obj
Debug
Refactor
TempPE
Release
TempPE
Properties
Settings.settings
WinDB for CodeProject
bin
Debug
Interop.ADODB.dll
Interop.MSDASC.dll
MyDatabaseLibrary.dll
Release
WinDB for CodeProject.vshost.exe
obj
Debug
Refactor
TempPE
Release
TempPE
Properties
Settings.settings
using System;
using System.Collections.Generic;
using System.Text;

namespace LDC_10
{
    internal class HdrData
    {
        public string RecID;
        public string OldRecID;
        public string GrpID;
        public string Name;
        public string Address;
        public bool Set;
    }
    
    internal class RecTime
    {
        public int RecID;
        public int DataSetID;
        //public int TimeID;
        public int Month;
        public int Day;
        public int Year;
        public int Hour;
        public int Minute;
    }
    
    internal class DataSet
    {
        public int RecID;
        public int DSID;
        public string StTime;
        public string SpTime;
        public string TotIntv;
        public string SMReading;
        public string EMReading;
        public string MMulti;
        public string PMulti;
        public string Unit;
        public string ReqOut;
        public string DST;
        public string PTRatio;
        public string WYE;
        public string FType;
    }
    
    internal class UnitData
    {
        public int RecID;
        public int DataSetID;
        public int TimeID;
        public int UnitID;
        public int NmChanels;
        public string U_A;
        public string U_B;
        public string U_C;
        public string U_D;
        public int M_A;
        public int M_B;
        public int M_C;
        public int M_D;
        public int _Tracer;
    }

    internal class HourlyData
    {
        public int Tracker = 1;
        public int RecID;
        public int DataSetID;
        public int Month;
        public int Day;
        public int Year;
        public int Hour;
        public int RA_Tot;
        public int RA_A;
        public int RA_B;
        public int RA_C;
        public int RA_D;
        public int RB_Tot;
        public int RB_A;
        public int RB_B;
        public int RB_C;
        public int RB_D;
        public int RC_Tot;
        public int RC_A;
        public int RC_B;
        public int RC_C;
        public int RC_D;
    }

    internal class StatusTracer
    {
        public int CurrentLine = 0;
        public int NumbOfLines = 0;
        public int CurrentFile = 0;
        public int NumbofFiles = 0;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

lost in transition
Web Developer
United States United States
I am a software, database, and gis developer. I love the challenge of learning new ways to code.

| Advertise | Privacy | Mobile
Web01 | 2.8.140905.1 | Last Updated 6 Dec 2006
Article Copyright 2006 by lost in transition
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid