Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Buffering?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00058871
Message ID:
00059011
Vues:
36
Michael,

>Isn't the default buffering for Codebook set to optimistic row or table? The reason I ask is because I have a simple business object. The dataenvironment for this business object has a single table with no properties set. When I instanciate the bizness object and look at CursorGetProp("Buffering") it returns 1, which isn't buffered at all. Did I miss something?

The default is optimistic record buffering. You can see this by examining CDataEnv.prg. In the class definition for CCursor, BufferModeOverride is set to DB_BUFOPTRECORD.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform