database objects
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: database objects

  1. #1
    Join Date
    Aug 2012

    database objects

    Hi there I am wondering if anyone can help, I am new to programming and I am thinking about developing myself a knowledge base application
    I have made applications similar before that would have each item stored as an object, then all the objects can be saved/retrieved from a file
    however I was feeling that a database would be better although I am unsure of the process to use

    would i
    on open, download all data from the database and store as objects, then reupload new/changed lines
    not use objects and just pull each item from the database at the needed time

    what would you guys suggest?

    sorry its a bit of an ambiguous question

  2. #2
    Join Date
    Aug 2013

    Re: database objects

    you can store an object in the database through:
    - storing the object directly as a binary object that will be a single field in the database table (just the way you do it with files). Then you add some fields for indexed search;
    - you can also store each object as a list of fields (the fields of the object. This is generally far better, as it can allow many more things on the database;
    - generally also, it is not best practice to load everything from the database at start-up, as you will be blocked if all your memory is used.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)