ClaFileDataAdapter Constructors

Top  Previous  Next

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)