Example #1
0
 /**
  * @return Database
  */
 function getDatabaseSchema()
 {
     ClassLoader::import('DATABASE:propel:');
     ClassLoader::import('DATABASE:propel:model');
     ClassLoader::import('DATABASE:propel:reverse');
     ClassLoader::import('DATABASE:propel:reverse:mssql');
     ClassLoader::import('DATABASE:propel:platform');
     $parser = new MssqlSchemaParser($this);
     $database = new Database($this->getDBName());
     $database->setPlatform(new MssqlPlatform($this));
     $parser->parse($database);
     $database->doFinalInitialization();
     return $database;
 }
 public function cleanDelimitedIdentifiers($identifier)
 {
     return parent::cleanDelimitedIdentifiers($identifier);
 }