Click here to Skip to main content
15,888,967 members
Articles / Programming Languages / C#

FireBird SqlHelper - A Data Access Application Block for FireBird

Rate me:
Please Sign up or sign in to vote.
4.80/5 (6 votes)
17 Jan 2007CPOL2 min read 71K   2.9K   39  
FireBird.SqlHelper is a C# porting of Microsoft Data Access Application Block V2. Just like the Microsoft Data Access Application Block V2, FireBird.SqlHelper encapsulates performance and resource management best practices and can easily be used as a building block in your own .NET FireBird applicat
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  <data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEm
        KzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7
        Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAB0AHQDASIAAhEBAxEB/8QA
        HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIh
        MUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVW
        V1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXG
        x8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQF
        BgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAV
        YnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOE
        hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq
        8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD2WiiigAooqhcal+98i0TzpenHQVhXxFOhHmm/836IqMHJ6F5m
        CgsxCgdyahF2jnEKvL7qOPzPFQxWDORJeSGZ/wC7/CPwq4AAMAYA7Cs4Sr1dWuRfe/8AJfiNqK8xFLn7
        yhfxzSndj5cZ96WiulJ2tcgrvcyRcyW77f7yHdSxXtvOcJKM+h4NT1WuLGC5zuXa395eDXJUjioa05KX
        k9Pua/VFpxe5ZorId73Szlj50Hqe3+FaFreQ3abo25HVT1FKhjYVZ+zmuWfZ/p3HKm0uZaonoooruMwo
        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
        CiiigD//2Q==
</value>
  </data>
</root>

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)


Written By
Web Developer
Pakistan Pakistan
Software engineer developing solutions using Microsoft technologies.

Comments and Discussions