From c4b6357a9908fb05261efa8764e5c8a6d8727b96 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Aug 2013 10:57:32 +0200 Subject: Implement soft delete for persistent classes --- odb/relational/model.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb/relational/model.hxx') diff --git a/odb/relational/model.hxx b/odb/relational/model.hxx index af88eb5..d4e1792 100644 --- a/odb/relational/model.hxx +++ b/odb/relational/model.hxx @@ -709,6 +709,9 @@ namespace relational if (abstract (c) && !polymorphic (c)) return; + if (deleted (c)) + return; + qname const& name (table_name (c)); // If the table with this name was already created, assume the -- cgit v1.1