User Tools

Site Tools


clafiledataadapter_constructors.htm
Navigation:  Clarion.Net (Clarion#) > Clarion# Language Extensions > ClaFileDataAdapter >====== ClaFileDataAdapter Constructors ====== Previous pageReturn to chapter overviewNext page

The ClaFileDataAdapter is initialized using the following constructors. You can pass it a FILE or VIEW:

FILE

!Create an instance of the class initializing it with the passed FILE

ClaFileDataAdapter(FILE file)

VIEW

!Create an instance of the class initializing with the passed VIEW structure

ClaFileDataAdapter(View)

Example:

!Declaration in CLASS

DBAdapter &Clarion.Data.ClaFileDataAdapter,PRIVATE

!Instantiation in method:

SELF.DBAdapter := new ClaFileDataAdapter(SELF.Authors)

clafiledataadapter_constructors.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1