From b46b4e7acb00715982a8d3543fb22f5ac64c88fe Mon Sep 17 00:00:00 2001 From: David Date: Sat, 11 Jul 2015 12:31:44 +0200 Subject: Added missing use statements in framework --- framework/Data/SqlMap/Statements/TCachingStatement.php | 1 + framework/Data/SqlMap/Statements/TInsertMappedStatement.php | 1 + framework/Data/SqlMap/Statements/TMappedStatement.php | 10 ++++++++++ framework/Data/SqlMap/Statements/TPreparedCommand.php | 5 +++++ framework/Data/SqlMap/Statements/TPreparedStatement.php | 2 ++ framework/Data/SqlMap/Statements/TSelectMappedStatement.php | 1 + framework/Data/SqlMap/Statements/TSimpleDynamicSql.php | 2 ++ .../Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php | 3 +++ framework/Data/SqlMap/Statements/TUpdateMappedStatement.php | 1 + 9 files changed, 26 insertions(+) (limited to 'framework/Data/SqlMap/Statements') diff --git a/framework/Data/SqlMap/Statements/TCachingStatement.php b/framework/Data/SqlMap/Statements/TCachingStatement.php index 745249e4..180a9375 100644 --- a/framework/Data/SqlMap/Statements/TCachingStatement.php +++ b/framework/Data/SqlMap/Statements/TCachingStatement.php @@ -10,6 +10,7 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Data\SqlMap\Configuration\TSqlMapCacheKey; /** * TCacheingStatement class. diff --git a/framework/Data/SqlMap/Statements/TInsertMappedStatement.php b/framework/Data/SqlMap/Statements/TInsertMappedStatement.php index eac88d2d..4b8a01d8 100644 --- a/framework/Data/SqlMap/Statements/TInsertMappedStatement.php +++ b/framework/Data/SqlMap/Statements/TInsertMappedStatement.php @@ -10,6 +10,7 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException; /** * TInsertMappedStatement class. diff --git a/framework/Data/SqlMap/Statements/TMappedStatement.php b/framework/Data/SqlMap/Statements/TMappedStatement.php index 2f7e8619..36375dd7 100644 --- a/framework/Data/SqlMap/Statements/TMappedStatement.php +++ b/framework/Data/SqlMap/Statements/TMappedStatement.php @@ -10,6 +10,16 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Collections\TList; +use Prado\Data\ActiveRecord\TActiveRecord; +use Prado\Data\SqlMap\Configuration\TResultProperty; +use Prado\Data\SqlMap\Configuration\TSqlMapInsert; +use Prado\Data\SqlMap\Configuration\TSqlMapStatement; +use Prado\Data\SqlMap\DataMapper\TLazyLoadList; +use Prado\Data\SqlMap\DataMapper\TPropertyAccess; +use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException; +use Prado\Data\SqlMap\TSqlMapManager; +use Prado\Exceptions\TInvalidDataValueException; /** * TMappedStatement class executes SQL mapped statements. Mapped Statements can diff --git a/framework/Data/SqlMap/Statements/TPreparedCommand.php b/framework/Data/SqlMap/Statements/TPreparedCommand.php index 4f59f4c7..9ddfc67e 100644 --- a/framework/Data/SqlMap/Statements/TPreparedCommand.php +++ b/framework/Data/SqlMap/Statements/TPreparedCommand.php @@ -11,6 +11,11 @@ namespace Prado\Data\SqlMap\Statements; +use Prado\Data\Common\TDbCommandBuilder; +use Prado\Data\Common\TDbMetaData; +use Prado\Data\SqlMap\TSqlMapManager; +use Prado\Prado; + Prado::using('System.Data.Common.TDbMetaData'); Prado::using('System.Data.Common.TDbCommandBuilder'); diff --git a/framework/Data/SqlMap/Statements/TPreparedStatement.php b/framework/Data/SqlMap/Statements/TPreparedStatement.php index b978996e..30bccedd 100644 --- a/framework/Data/SqlMap/Statements/TPreparedStatement.php +++ b/framework/Data/SqlMap/Statements/TPreparedStatement.php @@ -10,6 +10,8 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Collections\TList; +use Prado\Collections\TMap; /** * TpreparedStatement class. diff --git a/framework/Data/SqlMap/Statements/TSelectMappedStatement.php b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php index f97176e9..3c4aa376 100644 --- a/framework/Data/SqlMap/Statements/TSelectMappedStatement.php +++ b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php @@ -10,6 +10,7 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException; /** * TSelectMappedStatment class. diff --git a/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php b/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php index 147e5177..9a7d6543 100644 --- a/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php +++ b/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php @@ -10,6 +10,8 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Data\SqlMap\Configuration\TSimpleDynamicParser; +use Prado\Data\SqlMap\DataMapper\TPropertyAccess; /** * TSimpleDynamicSql class. diff --git a/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php b/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php index 041eda6b..fa2bf1cd 100644 --- a/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php +++ b/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php @@ -10,6 +10,9 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Collections\TList; +use Prado\Data\SqlMap\DataMapper\TPropertyAccess; +use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException; /** * TSQLMapObjectCollectionTree class. diff --git a/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php index 265876f5..f64a0aa4 100644 --- a/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php +++ b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php @@ -10,6 +10,7 @@ */ namespace Prado\Data\SqlMap\Statements; +use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException; /** * TUpdateMappedStatement class. -- cgit v1.2.3