Managed data access layer for Unmanaged code

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,
I have a unique situation here. We have an application which has been
created using Visual C++ 6.0. I am trying to create a new managed (C#) data
access layer for this app so that I can fetch and update various data into
the database. The hurdle is that for ceratin methods there could be a huge
amount of data returned close to 7000 records. I am not very sure whether
this data should be returned as a heirarchy of objects or as XML. I feel
going the object way is much simpler (C#) way but it mught lead to issues in
unmanaged code. WHile with XML, it may be just too much of parsing and schema
validation etc
.



Relevant Pages

  • Re: Parsing large amounts of data (200,000 entries) with XML?
    ... upon the actual amount of processing that is going on. ... I didn't add queries into that list because queries are one of two ... XML is going to be a bit slower than reading from a linked list ... Dim aTimeAs Double ...
    (microsoft.public.vb.general.discussion)
  • Re: xml as intermediate representation
    ... > [I agree that if you're going to pass stuff from phase to phase, XML ... otherwise have a tendency to tie you closely in to both the compiler ... writers preferred language and data model. ... data would give a tremendous amount of flexibility, ...
    (comp.compilers)
  • Re: Invalid character in XML
    ... > because of an illegal character for the encoding type. ... sensible amount of memory). ... toolbag of any heavy XML user for the occasions when other methods fail. ... > trying to extract on this run through, so I can safely ignore it. ...
    (microsoft.public.dotnet.xml)
  • Re: XML for VMS
    ... Does the amount of work to install/compile and then learn and build all the structures and routines to use those "read made" XML parsers exceed the amount of time it takes to simply write code to parse the one XML format that you have to parse and take the values directly into your application's structures? ... Using existing and debugged libraries -- such as libxml2 -- is usually more efficient. ... Rolling your own custom source code when appropriate and appropriately-licensed source code is available, documented, maintained, and fully functional? ...
    (comp.os.vms)
  • Re: Binary of flat File VS CE Database ?
    ... I agree that you probably wouldln't be happy with XML, ... encryption, for that amount of data. ... >> if the amount of data isn't large you could consider XML and CSV. ...
    (microsoft.public.pocketpc.developer)