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.

  1. download , install notepad++
  2. install , open press ctrl+shift+f select find in files
  3. find what: tunistoredproc replace with: tfdstoredproc filters: .pas;.dfm directory: project directory
  4. press replace in files
  5. find what: tuniconnection replace with: tfdconnection filters: .pas;.dfm directory: project directory
  6. press replace in files
  7. find what: ;1 replace with: (leave empty) filters: *.dfm directory: project directory
  8. press replace in files
  9. open delphi, open project give errors not finding properties press ignore all
  10. 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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -