OSGeo FDO Provider for MySQL .NET API Reference

OSGeo FDO MySQL .NET API

.NET API Reference OSGeo FDO Provider for MySQL

mgOvTableMappingType.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 BEGIN_NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE
00022 
00023 ///<summary>OvTableMappingType is an enumeration of the possible mapping types</summary>
00024 /// <param name="OvTableMappingType_Default"> Defaults to Concrete table. </param>
00025 /// <param name="OvTableMappingType_ClassTable"> only explicit properties are stored in the class
00026 /// table. Inherited properties are stored in the base class's table. This means that objects in this class
00027 /// will have their properties in multiple tables. These tables will be related by their primary key columns.
00028 /// Most providers, including all Autodesk providers, do not currently support class table mapping. These providers
00029 /// revert to using ConcreteTable mapping if ClassTable mapping is specified.
00030 /// </param>
00031 /// <param name="OvTableMappingType_ConcreteTable"> all class properties ( explicit and inherited )
00032 /// are stored in the class table. The class table can be the same or different from the class table for its
00033 /// base class. </param>
00034 /// <param name="OvTableMappingType_BaseTable"> all explicit class properties are store in the table
00035 /// for the base class. It is an error if this option is specified for a class that does not have a base
00036 /// class. It is also an error if the class also contains a Table object, since this class won't have its
00037 /// own table. For most cases, Base Table is equivalent to the Class Table option with table name set to the
00038 /// base class table name. The exception is when the base class table name is adjusted. In this case, the
00039 /// Base Table option allows the class properties to be stored in the base class table without the application
00040 /// having to guess how this table name will be adjusted. </param>
00041 public __value enum OvTableMappingType
00042 {
00043     OvTableMappingType_Default = FdoSmOvTableMappingType_Default,
00044     OvTableMappingType_ClassTable = FdoSmOvTableMappingType_ClassTable,
00045     OvTableMappingType_ConcreteTable = FdoSmOvTableMappingType_ConcreteTable,
00046     OvTableMappingType_BaseTable = FdoSmOvTableMappingType_BaseTable
00047 };
00048 
00049 END_NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE
00050 

Comments?