00001 /*
00002 * (C) Copyright 2005 by Autodesk, Inc. All Rights Reserved.
00003 *
00004 * By using this code, you are agreeing to the terms and conditions of
00005 * the License Agreement included in the documentation for this code.
00006 *
00007 * AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE
00008 * CORRECTNESS OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE
00009 * IT. AUTODESK PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY
00010 * DISCLAIMS ANY LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL
00011 * DAMAGES FOR ERRORS, OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 *
00013 * Use, duplication, or disclosure by the U.S. Government is subject
00014 * to restrictions set forth in FAR 52.227-19 (Commercial Computer
00015 * Software Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
00016 * (Rights in Technical Data and Computer Software), as applicable.
00017 *
00018 *
00019 */
00020
00021 #pragma once
00022
00023 class FdoSqlServerOvPhysicalSchemaMapping;
00024
00025 BEGIN_NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVER
00026 public __gc class OvClassCollection;
00027
00028 /// <summary>Concrete class defining physical schema overrides for a table.</summary>
00029 public __gc class OvPhysicalSchemaMapping : public NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE::OvPhysicalSchemaMapping
00030 {
00031 public:
00032 /// <summary>Constructs a default of an FdoSqlServerOvPhysicalSchemaMapping</summary>
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 FdoSqlServerOvPhysicalSchemaMapping using the specified arguments</summary>
00050 /// <param name="name">Input name</param>
00051 OvPhysicalSchemaMapping(System::String* name);
00052
00053 /// <summary>Gets the classes</summary>
00054 /// <returns>Returns the classes</returns>
00055 __property NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVER::OvClassCollection* get_Classes();
00056
00057 /// <summary>Gets the table Filegroup</summary>
00058 /// <returns>Returns the table Filegroup</returns>
00059 __property System::String* get_TableFilegroup();
00060
00061 /// <summary>Sets the table Filegroup</summary>
00062 /// <returns>Returns nothing</returns>
00063 __property System::Void set_TableFilegroup(System::String* tableFileGroup);
00064
00065 /// <summary>Gets the text Filegroup</summary>
00066 /// <returns>Returns the text Filegroup</returns>
00067 __property System::String* get_TextFilegroup();
00068
00069 ///<summary>Sets the text Filegroup</summary>
00070 /// <returns>Returns nothing</returns>
00071 __property System::Void set_TextFilegroup(System::String* textFileGroup);
00072
00073 /// <summary>Gets the index Filegroup</summary>
00074 /// <returns>Returns the index Filegroup</returns>
00075 __property System::String* get_IndexFilegroup();
00076
00077 /// <summary>Sets the index Filegroup</summary>
00078 /// <returns>Returns nothing</returns>
00079 __property System::Void set_IndexFilegroup(System::String* indexFileGroup);
00080
00081 /// <summary>Gets the text-in-row option</summary>
00082 /// <returns>Returns the text-in-row option</returns>
00083 __property NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVER::OvTextInRowOption get_TextInRow();
00084
00085 /// <summary>Sets the text-in-row option</summary>
00086 /// <returns>Returns nothing</returns>
00087 __property System::Void set_TextInRow(NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVER::OvTextInRowOption textInRow);
00088
00089 /// <summary>Gets the database</summary>
00090 /// <returns>Returns the database</returns>
00091 __property System::String* get_Database();
00092
00093 /// <summary>Sets the database</summary>
00094 /// <returns>Returns nothing</returns>
00095 __property System::Void set_Database(System::String* database);
00096
00097 /// <summary>Gets the owner</summary>
00098 /// <returns>Returns the owner</returns>
00099 __property System::String* get_Owner();
00100
00101 /// <summary>Sets the owner</summary>
00102 /// <returns>Returns nothing</returns>
00103 __property System::Void set_Owner(System::String* owner);
00104
00105 public private:
00106 OvPhysicalSchemaMapping(System::IntPtr unmanaged, System::Boolean autoDelete);
00107
00108 inline FdoSqlServerOvPhysicalSchemaMapping* GetImpObj();
00109 };
00110
00111 END_NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVER