Anthony Amolochitis - 2015-12-07 02:59:31 - In reply to message 1 from Bipul Alam
This is how you use the class to build your ORM.
//
// Create the conntection property for the connection wrapper I use
//
$dbConnectProperty = new dbConnectProperty() ;
$dbConnectProperty->host = 'localhost' ;
$dbConnectProperty->password = 'password' ;
$dbConnectProperty->userName = 'username' ;
//
// Create the object and tell it what database you will use in the
// database connection to mysql.
// It uses the Mysqli extension to connect.
//
$DataObjectBuild = new DataObjectBuild('databasename' , $dbConnectProperty) ;
$DataObjectBuild->GetTableList() ;
$DataObjectBuild->GenerateDataClasses() ;