Autodesk FDO Provider for SQL Server API Reference

SQLServer Provider API

API Reference Autodesk FDO Provider for SQL Server

SqlServerOvPropertyMappingRelation.h

Go to the documentation of this file.
00001 #ifndef FDO_SqlServerOVPROPERTYMAPPINGRELATION_H
00002 #define FDO_SqlServerOVPROPERTYMAPPINGRELATION_H
00003 //
00004 //
00005 // (C) Copyright 1990-2005 by Autodesk, Inc.
00006 //
00007 //
00008 //
00009 // By using this code, you are agreeing to the terms
00010 // and conditions of the License Agreement that appeared
00011 // and was accepted upon download or installation
00012 // (or in connection with the download or installation)
00013 // of the Autodesk software in which this code is included.
00014 // All permissions on use of this code are as set forth
00015 // in such License Agreement provided that the above copyright
00016 // notice appears in all authorized copies and that both that
00017 // copyright notice and the limited warranty and
00018 // restricted rights notice below appear in all supporting
00019 // documentation.
00020 //
00021 // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
00022 // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
00023 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
00024 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
00025 // UNINTERRUPTED OR ERROR FREE.
00026 //
00027 // Use, duplication, or disclosure by the U.S. Government is subject to
00028 // restrictions set forth in FAR 52.227-19 (Commercial Computer
00029 // Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
00030 // (Rights in Technical Data and Computer Software), as applicable.
00031 //
00032 #include <Rdbms/Override/RdbmsOvPropertyMappingConcrete.h>
00033 #include <Rdbms/Override/SqlServer/SqlServerOv.h>
00034 #include <Rdbms/Override/SqlServer/SqlServerOvPropertyMappingDefinition.h>
00035 
00036 class FdoSqlServerOvClassDefinition;
00037 
00038 /// \brief
00039 /// Abstract class defining the physical schema overrides for relation type object property
00040 /// table mappings.
00041 class FdoSqlServerOvPropertyMappingRelation : public FdoSqlServerOvPropertyMappingDefinition, public virtual FdoRdbmsOvPropertyMappingRelation
00042 {
00043 
00044 public:
00045 
00046     /// \brief
00047     /// Gets the internal class
00048     /// 
00049     /// \return
00050     /// Returns the internal class
00051     /// 
00052     FDOSQLSERVER_OV_API FdoSqlServerOvClassDefinition* GetInternalClass();
00053 
00054     /// \brief
00055     /// Sets the internal class
00056     /// 
00057     /// \return
00058     /// Returns nothing
00059     /// 
00060     FDOSQLSERVER_OV_API void SetInternalClass(FdoSqlServerOvClassDefinition* classDefinition);
00061 
00062 protected:
00063     FdoSqlServerOvPropertyMappingRelation();
00064     virtual ~FdoSqlServerOvPropertyMappingRelation();
00065 
00066     /// Creates and optionally attaches an internal class override object.
00067     virtual FdoRdbmsOvClassDefinition* CreateInternalClass(
00068         bool attach
00069     );
00070 };
00071 
00072 /// \brief
00073 /// FdoSqlServerOvPropertyMappingRelationP is a FdoPtr on FdoSqlServerOvPropertyMappingRelation, provided for convenience.
00074 typedef FdoPtr<FdoSqlServerOvPropertyMappingRelation> FdoSqlServerOvPropertyMappingRelationP;
00075 
00076 #endif
00077 
00078 

Comments?