Click here to Skip to main content
15,885,767 members
Articles / Programming Languages / SQL

DataLoaders - Unified Data to Object Binding

Rate me:
Please Sign up or sign in to vote.
4.72/5 (35 votes)
31 Oct 2004CPOL19 min read 76.2K   2.9K   83  
A framework to completely separate objects from their data source - allowing any data source to be used without prior consideration in your code or designs. Databases, text files, web services and potentially anything else can all be used or swapped transparently.
<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>GlobalDataLoader Class</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">DataLoader Documentation</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">GlobalDataLoader Class</h1>
      </div>
    </div>
    <div id="nstext">
      <p> Represents an isntance of a data loader. </p>
      <p>For a list of all members of this type, see <a href="Bttlxe.Data.GlobalDataLoaderMembers.html">GlobalDataLoader Members</a>.</p>
      <p>
        <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">System.Object</a>
        <br />���<b>GlobalDataLoader</b></p>
      <div class="syntax">
        <span class="lang">[Visual�Basic]</span>
        <br />Public�Class�GlobalDataLoader</div>
      <div class="syntax">
        <span class="lang">[C#]</span>
        <div>public�class�GlobalDataLoader</div>
      </div>
      <H4 class="dtH4">Thread Safety</H4>
      <P>Public static (Shared in Visual Basic) members of this type are 
				safe for multithreaded operations. Instance members are <b>not</b> guaranteed to be 
				thread-safe.</P>
      <h4 class="dtH4">Remarks</h4>
      <p>The <b>GlobalDataLoader</b> object represents a data loader to the system that can be referenced from other objects without needing to know the type of loader being used.</p>
      <p>This class is static and only one instance can (and must) be created per application.</p>
      <p>Correct usage is to create a data loader and assign it to the <a href="Bttlxe.Data.GlobalDataLoader.Loader.html">Loader</a> property.</p>
      <seealso cref="T:Bttlxe.Data.IDataLoader">
      </seealso>
      <h4 class="dtH4">Requirements</h4>
      <p>
        <b>Namespace: </b>
        <a href="Bttlxe.Data.html">Bttlxe.Data</a>
      </p>
      <p>
        <b>Assembly: </b>Bttlxe.Data (in Bttlxe.Data.dll)
					</p>
      <h4 class="dtH4">See Also</h4>
      <p>
        <a href="Bttlxe.Data.GlobalDataLoaderMembers.html">GlobalDataLoader Members</a> | <a href="Bttlxe.Data.html">Bttlxe.Data Namespace</a> | <a href="Bttlxe.Data.IDataLoader.html">IDataLoader</a></p>
      <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
        <param name="Keyword" value="GlobalDataLoader class, about GlobalDataLoader class">
        </param>
      </object>
      <hr />
      <div id="footer">
        <p>
          <a href="mailto:dwulff@bttlxe.com?subject=DataLoader%20Documentation%20Documentation%20Feedback:%20GlobalDataLoader%20Class">Send comments on this topic.</a>
        </p>
        <p>
          <a href="http://www.bttlxe.com">Copyright 2004 Battleaxe Software Ltd.</a>
        </p>
        <p>
        </p>
      </div>
    </div>
  </body>
</html>

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
CEO Bttlxe Ltd & Incentica Ltd
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions