Recent

Author Topic: About TMemDataSet.  (Read 4105 times)

everton

  • Jr. Member
  • **
  • Posts: 89
About TMemDataSet.
« on: February 04, 2012, 08:44:39 pm »
In the SVN version i didn't found the TMemDataSet, at least doesn't starts installed.
I read somewhere that TMemDataSet was deprecated.
Is that true?
If yes, is easy to tranfer the project for TBufDataSet?
Only the refactoring: Change Class will be sufficient?

Thanks people!

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: About TMemDataSet.
« Reply #1 on: February 04, 2012, 08:46:43 pm »
1st part: I asked the same question earlier. When I asked that: apparently memdataset was not deprecated but bufdataset use is encouraged.
See:
http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg24934.html

2nd part: refactoring is fairly easy, there are some different properties etc though. See the wiki page on using memory databases (talks about tmemdataset and tbufdataset).
« Last Edit: February 04, 2012, 09:03:54 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

everton

  • Jr. Member
  • **
  • Posts: 89
Re: About TMemDataSet.
« Reply #2 on: February 04, 2012, 10:47:56 pm »
"No. The idea is that TMemDataset becomes a descendent of TBufDataset."

So, TMemDataset stays, like it!

Is always good when the used component remains and is improved.
Probably this change was made to fix something.

 

TinyPortal © 2005-2018