00001 #ifndef FDO_SqlServerOVPROPERTYMAPPINGSINGLE_H
00002 #define FDO_SqlServerOVPROPERTYMAPPINGSINGLE_H
00003 /*
00004 * Copyright (C) 2004-2008 Autodesk, Inc.
00005 *
00006 * This library is free software; you can redistribute it and/or
00007 * modify it under the terms of version 2.1 of the GNU Lesser
00008 * General Public License as published by the Free Software Foundation.
00009 *
00010 * This library is distributed in the hope that it will be useful,
00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00013 * Lesser General Public License for more details.
00014 *
00015 * You should have received a copy of the GNU Lesser General Public
00016 * License along with this library; if not, write to the Free Software
00017 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00018 *
00019 */
00020
00021 #include <FdoCommon.h>
00022 #include <Rdbms/Override/RdbmsOvPropertyMappingSingle.h>
00023 #include <Rdbms/Override/SQLServerSpatial/SqlServerOv.h>
00024 #include <Rdbms/Override/SQLServerSpatial/SqlServerOvPropertyMappingDefinition.h>
00025
00026
00027
00028 /// \brief
00029 /// Concrete class defining the physical schema overrides for the Single type object
00030 /// property mapping. Under the Single mapping type, the object property is kept in the same
00031 /// table as its containing class.
00032 class FdoSqlServerOvPropertyMappingSingle : public FdoSqlServerOvPropertyMappingDefinition, public FdoRdbmsOvPropertyMappingSingle
00033 {
00034 public:
00035
00036 /// \brief
00037 /// Constructs a default of an FdoSqlServerOvPropertyMappingSingle
00038 ///
00039 /// \return
00040 /// Returns FdoSqlServerOvPropertyMappingSingle
00041 ///
00042 FDOSQLSERVER_OV_API static FdoSqlServerOvPropertyMappingSingle* Create();
00043
00044 protected:
00045 FdoSqlServerOvPropertyMappingSingle();
00046 virtual ~FdoSqlServerOvPropertyMappingSingle();
00047 virtual void Dispose();
00048 };
00049
00050 /// \brief
00051 /// FdoSqlServerOvPropertyMappingSingleP is a FdoPtr on FdoSqlServerOvPropertyMappingSingle, provided for convenience.
00052 typedef FdoPtr<FdoSqlServerOvPropertyMappingSingle> FdoSqlServerOvPropertyMappingSingleP;
00053
00054 #endif
00055
00056