summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/table.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-17 09:10:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-17 09:10:03 +0200
commit8101ed727f48216e887183dc3c7b5d96e37c2650 (patch)
treeee81327eb02fe22ea9f61af1085b1314d9524354 /odb/semantics/relational/table.hxx
parent2a2a9d9efb9209d3b251b62bf347df1dbb8dfae5 (diff)
Implement multi-pass table dropping for SQL Server
We have to first drop constraints before dropping tables in case the tables are dropped in a wrong order or there are circular dependencies.
Diffstat (limited to 'odb/semantics/relational/table.hxx')
-rw-r--r--odb/semantics/relational/table.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/semantics/relational/table.hxx b/odb/semantics/relational/table.hxx
index d499ccc..49476bb 100644
--- a/odb/semantics/relational/table.hxx
+++ b/odb/semantics/relational/table.hxx
@@ -13,6 +13,11 @@ namespace semantics
{
class table: public qnameable, public uscope
{
+ public:
+ // Resolve ambiguity.
+ //
+ using qnameable::scope;
+
protected:
table (string const& id)
: qnameable (id)