FDO API Reference | Feature Data Objects |
00001 #ifndef _DELETERULE_H_ 00002 #define _DELETERULE_H_ 00003 00004 // 00005 // Copyright (C) 2004-2006 Autodesk, Inc. 00006 // 00007 // This library is free software; you can redistribute it and/or 00008 // modify it under the terms of version 2.1 of the GNU Lesser 00009 // General Public License as published by the Free Software Foundation. 00010 // 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // Lesser General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU Lesser General Public 00017 // License along with this library; if not, write to the Free Software 00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 // 00020 00021 #ifdef _WIN32 00022 #pragma once 00023 #endif 00024 00025 /// \brief 00026 /// The FdoDeleteRule enumeration specifies the action to take when a delete 00027 /// operation is executed on the class instance at the other end of the 00028 /// relation. 00029 /// <param name="FdoDeleteRule_Cascade"> 00030 /// Cascade the delete operation to class instances at this end of the relation 00031 /// </param> 00032 /// <param name="FdoDeleteRule_Prevent"> 00033 /// Prevent the delete operation if there are class instances at this end of the relation 00034 /// </param> 00035 /// <param name="FdoDeleteRule_Break"> 00036 /// Break the relationship by setting the identifying properties at this end to null values 00037 /// </param> 00038 enum FdoDeleteRule 00039 { 00040 /// Cascade the delete operation to class instances at this end of the relation. 00041 FdoDeleteRule_Cascade, 00042 00043 /// Prevent the delete operation if there are class instances at this end of the relation. 00044 FdoDeleteRule_Prevent, 00045 00046 /// Break the relationship by setting the identifying properties at this end to null values. 00047 FdoDeleteRule_Break 00048 }; 00049 00050 #endif 00051 00052
Comments or suggestions? Send us feedback. |