RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebAppDataModuleFactory.Create Constructor

Creates and initializes an instance of TWebAppDataModuleFactory.

Pascal
constructor Create(AComponentClass: TComponentClass; ACacheMode: TWebModuleCacheMode = caCache);
C++
__fastcall TWebAppDataModuleFactory(TComponentClass AComponentClass, TWebModuleCacheMode ACacheMode = caCache);

Call Create to instantiate a Web application module factory. Typically, the WebSnap application wizard generates the call to the constructor in the initialization section of the Web application module's unit. 

AComponentClass is the class of the Web data module that this factory object creates. It becomes the value of the ComponentClass property. 

ACacheMode indicates whether the application can cache Web application module instances for reuse with subsequent request messages. This becomes the value of the CacheMode property. 

 

CacheMode 

ComponentClass

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!