Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3487392
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:08:36+00:00 2026-05-18T11:08:36+00:00

I am developing window phone 7 application. I am new to the window phone

  • 0

I am developing window phone 7 application. I am new to the window phone 7 application. I am using xml as a database for my current application. I am using the following link to use the XML as a database.

http://rongchaua.net/blog/windows-phone-7-simple-database-example/

I have six tables (for e.g. table_A, table_B, table_C, table_D, table_E, table_F) for my current application. So should I create the six classes (for e.g. class_A, class_B, class_C, class_D, class_E, class_F) for my current application ? & should I use six XML files to store the values from these six classes ? Or should I create a single XML file & store the values from all six classes to this single XML file ? Please guide me for the above issue ? If I am doing anything wrong then please suggest me right solution. If anyone is having anything other ideas which can be useful then please share the ideas.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:08:37+00:00Added an answer on May 18, 2026 at 11:08 am

    Yes, you’ll probably want to create a class for each table, acting as your “model” effectively. Whether you should have a single file containing everything or one file per table – or something else entirely – will depend on what you’re trying to do.

    If you always need all the data, and you’re only ever reading it, then putting it all in one file would make sense. If you’re writing to some tables but not others, it may well make sense to keep the files separate so you’ve got less data to rewrite. (You’re probably going to have to rewrite the whole file each time you modify a file, after all.)

    You probably don’t want to reload the file every time you access the data – loading it once and keeping it in memory may well be fine. Again, it depends on what your data actually looks like. If you can’t keep it in memory but you’re querying it regularly, you may want to reconsider using XML in the first place – it’s convenient in various ways, but you can’t treat it like a real database, with indexed queries etc. It would be hard to perform a search without effectively doing a table scan.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing window phone 7 application. I am using XML as a database
I am developing window phone 7 application. I am new to the window phone
I am developing window phone 7 application in silverlight. I am new to the
I am developing window phone 7 application. I am new to the silverlight. In
I am developing window phone 7 application. I am new to the silverlight. I
I am developing window phone 7 application. I am new to the Window Phone
I am developing window phone 7 application. I am new to the window phone
I am developing window phone 7 application in C#. I am new to the
I am developing window phone 7 application. I am new to the window phone
Developing a .NET WinForms application: how can I check if the window is in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.