From a272ae8fa5341e215c884e6a88facd666dd32a5a Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 26 Nov 2006 22:20:31 +0000 Subject: delete old adodb active record. --- .gitattributes | 1 - framework/DataAccess/TActiveRecord.php | 51 ---------------------------------- 2 files changed, 52 deletions(-) delete mode 100644 framework/DataAccess/TActiveRecord.php diff --git a/.gitattributes b/.gitattributes index d2a490a3..2f5d1621 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1462,7 +1462,6 @@ framework/DataAccess/SQLMap/Statements/TUpdateMappedStatement.php -text framework/DataAccess/SQLMap/TMapper.php -text framework/DataAccess/SQLMap/TSqlMapClient.php -text framework/DataAccess/SQLMap/TSqlMapper.php -text -framework/DataAccess/TActiveRecord.php -text framework/DataAccess/TAdodb.php -text framework/DataAccess/TDatabaseProvider.php -text framework/DataAccess/TEzpdo.php -text diff --git a/framework/DataAccess/TActiveRecord.php b/framework/DataAccess/TActiveRecord.php deleted file mode 100644 index e0a4f596..00000000 --- a/framework/DataAccess/TActiveRecord.php +++ /dev/null @@ -1,51 +0,0 @@ - - * CREATE TABLE persons - * ( - * id INTEGER PRIMARY KEY, - * first_name TEXT NOT NULL, - * last_name TEXT NOT NULL, - * favorite_color TEXT NOT NULL - * ); - * - * Create a class called Person, connect insert some data as follows. - * - * class Person extends TActiveRecord { } - * - * $person = new Person(); - * $person->first_name = 'Andi'; - * $person->last_name = 'Gutmans'; - * $person->favorite_color = 'blue'; - * $person->save(); // this save will perform an INSERT successfully - * - * $person = new Person(); - * $person->first_name = 'John'; - * $person->last_name = 'Lim'; - * $person->favorite_color = 'lavender'; - * $person->save(); // this save will perform an INSERT successfully - * - * // load record where id=2 into a new ADOdb_Active_Record - * $person2 = new Person(); - * $person2->Load('id=2'); - * var_dump($person2); - * - * - * - * - * @author Wei Zhuo - * @version $Id$ - * @package System.DataAccess - * @since 3.0 - */ -class TActiveRecord extends ADOdb_Active_Record -{ - -} - -?> \ No newline at end of file -- cgit v1.2.3