Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Data source selection for C# win app

Data source selection for C# win app

Scheduled Pinned Locked Moved C#
csharpdatabasequestionsql-serverlinq
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eduard Keilholz
    wrote on last edited by
    #1

    Hey friends, I hav a small question. I'm starting to develop a C# Windows application from scratch. The application will need a datasource. Previously I've always developed using MS SQL Server but for this app I don't want to have 'having an sql server instance' as a requirement. I want a single file database or something, and is possible with LINQ support. What kind of datasource are recommended?

    .: I love it when a plan comes together :. http://www.zonderpunt.nl

    D D D 3 Replies Last reply
    0
    • E Eduard Keilholz

      Hey friends, I hav a small question. I'm starting to develop a C# Windows application from scratch. The application will need a datasource. Previously I've always developed using MS SQL Server but for this app I don't want to have 'having an sql server instance' as a requirement. I want a single file database or something, and is possible with LINQ support. What kind of datasource are recommended?

      .: I love it when a plan comes together :. http://www.zonderpunt.nl

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      How much data does your application uses? If it not much, you can use XML or Access. If it is large amount of data, use a real database.

      1 Reply Last reply
      0
      • E Eduard Keilholz

        Hey friends, I hav a small question. I'm starting to develop a C# Windows application from scratch. The application will need a datasource. Previously I've always developed using MS SQL Server but for this app I don't want to have 'having an sql server instance' as a requirement. I want a single file database or something, and is possible with LINQ support. What kind of datasource are recommended?

        .: I love it when a plan comes together :. http://www.zonderpunt.nl

        D Offline
        D Offline
        Dr Walt Fair PE
        wrote on last edited by
        #3

        It's hard t say what would work best for you since you gave no real requirements other than single file and not SQLServer. Using an Access (Jet) database is one possibility. The problems with Access are its size limitation and that it's a pain-in-the-butt to create a new Access database programatically. If you don't have to worry about those things, then Access (Jet) might work just fine. You might also consider using SQLite, although it also has limitations and I'm not sure if it supports Linq.

        CQ de W5ALT

        Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

        1 Reply Last reply
        0
        • E Eduard Keilholz

          Hey friends, I hav a small question. I'm starting to develop a C# Windows application from scratch. The application will need a datasource. Previously I've always developed using MS SQL Server but for this app I don't want to have 'having an sql server instance' as a requirement. I want a single file database or something, and is possible with LINQ support. What kind of datasource are recommended?

          .: I love it when a plan comes together :. http://www.zonderpunt.nl

          D Offline
          D Offline
          Dan Mos
          wrote on last edited by
          #4

          try db4o. It's an object database, meaning you store the objects directly. It's fast to develop and easy to use. But only for local stuff. I wouldn't use it as a DB server. It's free under GPL. The learning curve it's a breeze. The new version suports LINQ too. Here is a direct link to their tutorial. :)

          I bug

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups