Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Tagged as

Building an embedded database engine in C#

, 10 Jun 2009 CPOL
DbfDotNet is a very fast and compact fully managed standalone database/entity framework, for the .Net Framework.
using System;
using System.Collections.Generic;
using System.Text;

namespace DbfDotNet
{
    public enum DbfVersion
    {
        dBaseIII,
        dBaseIV,
        DbfDotNet
    }

    [Flags()]
    public enum FieldMapping
    {
        ExplicitColumnsOnly = 0,
        PublicFields = 1,
        PrivateFields = 2
    }

    public enum OverflowBehaviour
    {
        ThrowError,
        Truncate
    }

    [Flags]
    internal enum RecordState : byte
    {
        New,
        Disposed
    }

    public enum ColumnType
    {
        UNKNOWN,
        CHARACTER,
        NUMERICAL,
        LOGICAL,
        DATE_YMD,
        DATE_YYYYMMDD,
        GRAPHICS,
        MEMO,
        TIME,
        BOOL,
        BYTE,
        SBYTE,
        CHAR,
        CHARW,
        INT16,
        UINT16,
        INT32,
        UINT32,
        INT64,
        UINT64,
        SINGLE,
        DOUBLE,
        DECIMAL,
        DATETIME,
        BYTES,
        DELAYED,
        DELETED_FLAG
    }

}

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Pascal Ganaye
Software Developer (Senior)
United Kingdom United Kingdom
I am a French programmer.
These days I spend most of my time with the .NET framework, JavaScript and html.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141030.1 | Last Updated 10 Jun 2009
Article Copyright 2009 by Pascal Ganaye
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid