FDO .NET API Reference Feature Data Objects

mgDeleteRule.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2004-2006  Autodesk, Inc.
00003 * 
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of version 2.1 of the GNU Lesser
00006 * General Public License as published by the Free Software Foundation.
00007 * 
00008 * This library is distributed in the hope that it will be useful,
00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 * Lesser General Public License for more details.
00012 * 
00013 * You should have received a copy of the GNU Lesser General Public
00014 * License along with this library; if not, write to the Free Software
00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00016 *
00017 */
00018 
00019 #pragma  once
00020 
00021 /// \cond DOXYGEN-IGNORE
00022 BEGIN_NAMESPACE_OSGEO_FDO_SCHEMA
00023 /// \endcond
00024 
00025 /// \ingroup (OSGeoFDOSchema)
00026 /// \brief
00027 /// The DeleteRule enumeration specifies the action to take when a delete
00028 /// operation is executed on the class instance at the other end of the
00029 /// relation.
00030 public __value enum DeleteRule
00031 {
00032     /// Cascade the delete operation to class instances at this end of the relation.
00033     DeleteRule_Cascade = FdoDeleteRule_Cascade,
00034 
00035     /// Prevent the delete operation if there are class instances at this end of the relation.
00036     DeleteRule_Prevent = FdoDeleteRule_Prevent,
00037 
00038     /// Break the relationship by setting the identifying properties at this end to null values.
00039     DeleteRule_Break = FdoDeleteRule_Break
00040 };
00041 
00042 /// \cond DOXYGEN-IGNORE
00043 END_NAMESPACE_OSGEO_FDO_SCHEMA
00044 /// \endcond

Comments or suggestions? Send us feedback.