Click here to Skip to main content
15,879,326 members
Articles / Database Development / MySQL

MySqlUtil - TableAdapters for MySql

Rate me:
Please Sign up or sign in to vote.
4.59/5 (7 votes)
3 Aug 20063 min read 69.1K   2.1K   47  
A program which generates Typed DataSets and TableAdapters for MySQL databases
// MySql Typed DataSet - Created Monday, 10 July 2006 11:43:55 AM

using System;
using System.Data;

namespace myqfrs_namespace
{
    public partial class myqfrsDataSet : System.Data.DataSet
    {
        DataTable brigadeDataTable;
        DataTable districtDataTable;
        DataTable firegroupDataTable;
        DataTable fireserviceDataTable;
        DataTable membersDataTable;
        public myqfrsDataSet () : base () 
        {
            brigadeDataTable = new DataTable ( "brigade" );
            base.Tables.Add ( brigadeDataTable );
            districtDataTable = new DataTable ( "district" );
            base.Tables.Add ( districtDataTable );
            firegroupDataTable = new DataTable ( "firegroup" );
            base.Tables.Add ( firegroupDataTable );
            fireserviceDataTable = new DataTable ( "fireservice" );
            base.Tables.Add ( fireserviceDataTable );
            membersDataTable = new DataTable ( "members" );
            base.Tables.Add ( membersDataTable );
        }
    }
}

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



Comments and Discussions