Questions tagged [code-migration]

74 questions
24
votes
10 answers

Error in update-database command in code first migration

I am working on Desktop application in WPF and creating SqlRepository with LocalDB to store data. I am using following tools Visual Studio 2013 Community with update 2 Entity Framework 6.1.2 for Code first migration I have created local database…
Nps
  • 1,638
  • 4
  • 20
  • 40
23
votes
7 answers

Entity Framework Code Migrations - Stuck on Initial Migration

I have added EF 5 to my project via Nuget and enabled migrations with the "Enable-Migrations" command. I have then called "Add-Migration" to generate the base code for generating the schema. I then added a property to one of my domain objects…
18
votes
1 answer

Convert MySQL script to SQL Server

I have a large MySQL set of commands in a file (script) and I need to execute it on a Microsoft SQL Server 2008. I know there are few differences in both languages, despite the fact the base SQL is the same. Is there any way how to convert a MySQL…
NumberFour
  • 181
  • 1
  • 1
  • 3
17
votes
16 answers

Is the C# 2.0 to C# 3.0 transition worth it for this project?

I have read on Stack Overflow some people that have converting to C#2.0 to C#3, but is it really worth it? I have a project that is done at 75% before going in maintenance phase. I am asking to myself if it is worth it to switch to…
Patrick Desjardins
  • 136,852
  • 88
  • 292
  • 341
14
votes
2 answers

Best way to import version-specific python modules

Which method makes the most sense for importing a module in python that is version specific? My use case is that I'm writing code that will be deployed into a python 2.3 environment and in a few months be upgraded to python 2.5. This: if…
mcrute
  • 1,592
  • 1
  • 16
  • 27
13
votes
14 answers

Migrating a project from C# to Java

With some changes in the staffing at the office, the levels of C# expertise has dropped off precipitously and there are now more Java developers. It has gotten to the point where the higher-ups are considering moving an existing .NET project written…
TheTXI
  • 37,429
  • 10
  • 86
  • 110
9
votes
4 answers

How to convert Giant project Objective C to Swift

I've running project and its really gigantic, it contain almost 1000 files and 4 Custom (own built) framework and almost 10 others added via Pods. I've gone through Migrating Your Objective-C Code to Swift and also Migrate with Swiftify. I started…
Aleem
  • 3,173
  • 5
  • 33
  • 71
8
votes
17 answers

What successful conversion/rewrite of software have you done?

What successful conversion/rewrite have you done of software you were involved with? What where the languages and framework involved in the process? How large was the software in question? Finally what is the top one or two thing you learned from…
RS Conley
  • 7,196
  • 1
  • 20
  • 37
8
votes
3 answers

Switch from Google AppEngine to another server

Currently I'm building my Java Web Application on Google AppEngine (GAE), but due to a lot of limitations they have I'm afraid that I'm going to have to switch from GAE to my own server which is running Glassfish (or I can setup any other server if…
Maksim
  • 16,635
  • 27
  • 94
  • 135
5
votes
3 answers

string problems migrating Delphi 3 to Delphi 2010

I got the source of an older project and have to change little things but I got in big trouble because of having only delphi 2010 to do that. There is an record defined : bbil = record path : string; pos: byte; nr: Word; end; later this…
rseffner
  • 53
  • 4
5
votes
7 answers

Experiences with "language converters"?

I have read a few articles mentioning converters from one language to another. I'm a bit more than skeptical about the use of such kind of tools. Does anyone know or have experiences let's say about Visual Basic to Java or vs converters? Just one…
Friedrich
  • 5,916
  • 25
  • 45
5
votes
7 answers

Experience migrating legacy Cobol/PL1 to Java

ORIGINAL Q: I'm wondering if anyone has had experience of migrating a large Cobol/PL1 codebase to Java? How automated was the process and how maintainable was the output? How did the move from transactional to OO work out? Any lessons learned…
MadMurf
  • 2,247
  • 3
  • 23
  • 30
4
votes
1 answer

Recover svn from directory backup after server failure

The machine hosting our svn server failed. We were able to recover the C:\Repositories\ directory. How do we migrate this to a new host?
crisis
4
votes
1 answer

Is the "IonApp" class from @ionic/angular (Ionic 4) the new "App" class from ionic-angular ( Ionic 3)?

I'm currently trying to migrate an old Ionic app to Ionic 4. they were no issues at all before migration I'm working on a provider file helper.ts , and i'm stuck with a migration issue. here is the ionic info output Ionic: ionic (Ionic CLI) …
Plouyroe
  • 103
  • 2
  • 10
4
votes
3 answers

AWS codecommit migration

May be its simple question but I am not able to find right document to implement this. I have two aws account i.e personal P and Office O. For experiment purpose initially I have created Codecommit and attached 8 GIT projects. There are four users…
ULLAS K
  • 881
  • 2
  • 11
  • 24
1
2 3 4 5