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 class FdoOdbcOvPhysicalSchemaMapping;
00022
00023 BEGIN_NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_ODBC
00024 public __gc class OvClassCollection;
00025
00026 ///<summary>Concrete class offering schema overrides for
00027 ///the Odbc Provider.</summary>
00028 public __gc class OvPhysicalSchemaMapping : public NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE::OvPhysicalSchemaMapping
00029 {
00030 public:
00031 ///<summary>Constructs a default of an FdoOdbcOvPhysicalSchemaMapping</summary>
00032 /// <returns>Returns FdoOdbcOvPhysicalSchemaMapping</returns>
00033 OvPhysicalSchemaMapping();
00034
00035 /// <summary>Constructs a physical schema mapping instance using the
00036 /// result returned from IConnection::CreateSchemaMapping OR using the result of
00037 /// executing an IDescribeSchemaMapping command. This constructor is provided
00038 /// in order that clients are provided a mechanism to downcast from the FDO
00039 /// PhysicalSchemaMapping base class to an FDO Provider specific class
00040 /// that derives from PhysicalSchemaMapping. This constructor is the only
00041 /// mechanism provided by the FDO Managed API that will allow the client to correctly
00042 /// construct a provider specific PhysicalSchemaMapping class.
00043 /// NOTE: If the Provider name associated to the input parameter schemaMapping does not
00044 /// correspond to the provider name of the expected FDO Provider, and InvalidArgumentException
00045 /// will be thrown.
00046 /// </summary>
00047 OvPhysicalSchemaMapping(NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping* schemaMapping, System::Boolean autoDelete);
00048
00049 ///<summary>Constructs an instance of an FdoOdbcOvPhysicalSchemaMapping using the specified arguments</summary>
00050 /// <param name="name">Input name</param>
00051 /// <returns>Returns FdoOdbcOvPhysicalSchemaMapping</returns>
00052 OvPhysicalSchemaMapping(System::String* name);
00053
00054 ///<summary>Gets the classes</summary>
00055 /// <returns>Returns the classes</returns>
00056 __property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_ODBC::OvClassCollection* get_Classes();
00057
00058 ///<summary>Gets the provider name</summary>
00059 /// <returns>Returns the provider name</returns>
00060 __property System::String* get_Provider();
00061
00062
00063 public private:
00064 OvPhysicalSchemaMapping(System::IntPtr unmanaged, System::Boolean autoDelete);
00065
00066 inline FdoOdbcOvPhysicalSchemaMapping* GetImpObj();
00067 };
00068
00069 END_NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_ODBC
00070