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. Database & SysAdmin
  3. Database
  4. need recommandation for database for vs.net 2010 c# web service project

need recommandation for database for vs.net 2010 c# web service project

Scheduled Pinned Locked Moved Database
csharpdatabasesql-servervisual-studiolinq
3 Posts 3 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.
  • N Offline
    N Offline
    neodeaths
    wrote on last edited by
    #1

    hi, i am using vs.net 2010 to make a web service project with linq to connect to a ms sql server. however i notice that although i added the annotation for the classes classes that need to be persisted. it is still very tedious to make changes to the class it self as i need to manually go into the database to make the table changes. can anyone advice me if i should continuing using linq or is there something better out there? which is as simple to use as linq but can automatically change the ms sql table to reflect the annotation i used in my classes

    Richard DeemingR J 2 Replies Last reply
    0
    • N neodeaths

      hi, i am using vs.net 2010 to make a web service project with linq to connect to a ms sql server. however i notice that although i added the annotation for the classes classes that need to be persisted. it is still very tedious to make changes to the class it self as i need to manually go into the database to make the table changes. can anyone advice me if i should continuing using linq or is there something better out there? which is as simple to use as linq but can automatically change the ms sql table to reflect the annotation i used in my classes

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Sounds like you're looking for Entity Framework Code First Migrations[^]. With automatic migrations[^], most changes can be scripted for you.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      • N neodeaths

        hi, i am using vs.net 2010 to make a web service project with linq to connect to a ms sql server. however i notice that although i added the annotation for the classes classes that need to be persisted. it is still very tedious to make changes to the class it self as i need to manually go into the database to make the table changes. can anyone advice me if i should continuing using linq or is there something better out there? which is as simple to use as linq but can automatically change the ms sql table to reflect the annotation i used in my classes

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #3

        neodeaths wrote:

        or is there something better out there

        Incremental changes handled over time to a database schema with the only record being C# code annotations would be a nightmare for a non-trivial business system. Of course in terms of that it makes me wonder how you are tracking your changes to the database now given that you are doing it in "the database".

        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