FDO .NET API Reference | Feature Data Objects |
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 BEGIN_NAMESPACE_OSGEO_FDO_CONNECTIONS 00022 00023 public __gc __interface IConnection; 00024 00025 /// \ingroup (OSGeoFDOConnections) 00026 /// \interface OSGeo::FDO::Connections::ITransaction 00027 /// \brief 00028 /// The ITransaction interface represents a transaction to be performed in a DataStore, and is implemented 00029 /// by feature providers that support transactions. 00030 public __gc __interface ITransaction : public System::IDisposable 00031 { 00032 public: 00033 /// \brief 00034 /// Gets the IConnection object associated with the transaction. 00035 /// 00036 /// \return 00037 /// Returns IConnection object 00038 /// 00039 __property NAMESPACE_OSGEO_FDO_CONNECTIONS::IConnection* get_Connection(); 00040 00041 /// \brief 00042 /// Commits the transaction. 00043 /// 00044 /// \return 00045 /// Returns nothing 00046 /// 00047 System::Void Commit(); 00048 00049 /// \brief 00050 /// Rolls back a transaction from a pending state. 00051 /// 00052 /// \return 00053 /// Returns nothing 00054 /// 00055 System::Void Rollback(); 00056 }; 00057 00058 END_NAMESPACE_OSGEO_FDO_CONNECTIONS 00059 00060
Comments or suggestions? Send us feedback. |