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. .NET (Core and Framework)
  4. .NET , SQLite to SQLServer Entity Framework migration

.NET , SQLite to SQLServer Entity Framework migration

Scheduled Pinned Locked Moved .NET (Core and Framework)
databasequestioncsharpsqlitehelp
6 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.
  • M Offline
    M Offline
    MrKBA
    wrote on last edited by
    #1

    Hi, I need help in "how to do it" I have an existing .NET application which use Sql Entity Framework with SQLite databse. This application is deployed and used by client and there is a production database . Now the client need to migrate this database to SQLServer. So what I need is to migrate the SQLite database to SqlServer and make the necessary in code using Entity Framework always. My question please is what is the best practice to accomplish this and steps to follow. Thanks for help

    M M 2 Replies Last reply
    0
    • M MrKBA

      Hi, I need help in "how to do it" I have an existing .NET application which use Sql Entity Framework with SQLite databse. This application is deployed and used by client and there is a production database . Now the client need to migrate this database to SQLServer. So what I need is to migrate the SQLite database to SqlServer and make the necessary in code using Entity Framework always. My question please is what is the best practice to accomplish this and steps to follow. Thanks for help

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      I think defining the "best practice" is a little arbitrary, there are very few different ways to do the migration. Google[^] seems to show a simple method. As for EF, surely you simply give it a new connection string (I despise EF so never use it).

      Never underestimate the power of human stupidity RAH

      M 1 Reply Last reply
      0
      • M Mycroft Holmes

        I think defining the "best practice" is a little arbitrary, there are very few different ways to do the migration. Google[^] seems to show a simple method. As for EF, surely you simply give it a new connection string (I despise EF so never use it).

        Never underestimate the power of human stupidity RAH

        M Offline
        M Offline
        MrKBA
        wrote on last edited by
        #3

        Thanks for reply, But what I asked for is using code will be more better than using standard tools ? and if yes how achieve this ? Thank you

        L M 2 Replies Last reply
        0
        • M MrKBA

          Thanks for reply, But what I asked for is using code will be more better than using standard tools ? and if yes how achieve this ? Thank you

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          If you have to ask, then it is better to use standard tools. Recreate the database-tables in SQL Server and see if you can export the data as CSV or similar.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

          1 Reply Last reply
          0
          • M MrKBA

            Thanks for reply, But what I asked for is using code will be more better than using standard tools ? and if yes how achieve this ? Thank you

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            I would use the standard tool UNLESS it is something that needed repeating regularly. For a one off migration do it manually.

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • M MrKBA

              Hi, I need help in "how to do it" I have an existing .NET application which use Sql Entity Framework with SQLite databse. This application is deployed and used by client and there is a production database . Now the client need to migrate this database to SQLServer. So what I need is to migrate the SQLite database to SqlServer and make the necessary in code using Entity Framework always. My question please is what is the best practice to accomplish this and steps to follow. Thanks for help

              M Offline
              M Offline
              Member 13966871
              wrote on last edited by
              #6

              Going through a review of websites will give you much insight about it which you can’t know by simply visiting it. Our expert Allassignmenthelp.co.uk Reviews go through many websites each month to select only the best. This makes students aware of websites offering best Assignments.

              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