delphi - Migrate From DevArt UniDac To FireDac -
i've been using unidac 2 years , best solution me, because doesn't support asynch query's have move on firedac there quick migration wizard or can use because have around 200+ tunistoredproc components in form , convert them tfdstoredproc, doing every 1 of them hand take allot of time, , dont have, replace them old tunistoredproc tfdstoredproc
my setup:
embarcadero rad studio xe5
the components connected mssql database
here sollution ** warning not perfect, ant may cause databinding loss opened forms ** please recheck databindings once finished have backup in case.
- download , install notepad++
- install , open press ctrl+shift+f select find in files
- find what: tunistoredproc replace with: tfdstoredproc filters: .pas;.dfm directory: project directory
- press replace in files
- find what: tuniconnection replace with: tfdconnection filters: .pas;.dfm directory: project directory
- press replace in files
- find what: ;1 replace with: (leave empty) filters: *.dfm directory: project directory
- press replace in files
- open delphi, open project give errors not finding properties press ignore all
- check settings of connections , databindings recompile
i tried anydac addon same need generate rule text file unidac, best 1 have right if come better 1 accept answer.
Comments
Post a Comment