.NET API Reference | OSGeo FDO Provider for MySQL |
#include <mgOvClassDefinition.h>
Public Member Functions | |
__property System::String * | get_AutoIncrementPropertyName () |
__property System::Int64 | get_AutoIncrementSeed () |
__property System::Int32 | get_IdentityIncrement () |
__property System::Boolean | get_IdentityIsGloballyUnique () |
__property System::String * | get_IdentityPropertyName () |
__property System::Int32 | get_IdentitySeed () |
__property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVERSPATIAL::OvPropertyDefinitionCollection * | get_Properties () |
__property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_MYSQL::OvPropertyDefinitionCollection * | get_Properties () |
__property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE::OvReadOnlyPropertyDefinitionCollection * | get_Properties () |
__property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVERSPATIAL::OvTable * | get_Table () |
__property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_MYSQL::OvTable * | get_Table () |
__property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE::OvTable * | get_Table () |
__property NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE::OvTableMappingType | get_TableMapping () |
OvClassDefinition (System::String *name) | |
OvClassDefinition () | |
<summary>Constructs a default of an NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVERSPATIAL::OvClassDefinition</summary> | |
OvClassDefinition (System::String *name) | |
OvClassDefinition () | |
__property System::Void | set_AutoIncrementPropertyName (System::String *autoIncrementPropertyName) |
__property System::Void | set_AutoIncrementSeed (System::Int64 autoIncrementSeed) |
__property System::Void | set_IdentityIncrement (System::Int32 identityIncrement) |
__property System::Void | set_IdentityIsGloballyUnique (System::Boolean isGloballyUnique) |
__property System::Void | set_IdentityPropertyName (System::String *identityPropertyName) |
__property System::Void | set_IdentitySeed (System::Int32 identitySeed) |
__property System::Void | set_Parent (NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalElementMapping *value) |
__property System::Void | set_Table (NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVERSPATIAL::OvTable *table) |
__property System::Void | set_Table (NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_MYSQL::OvTable *table) |
__property System::Void | set_TableMapping (NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE::OvTableMappingType mappingType) |
System::Void | WriteXmlAttributes (NAMESPACE_OSGEO_COMMON_XML::XmlWriter *xmlWriter, NAMESPACE_OSGEO_FDO_XML::XmlFlags *flags) |
Protected Member Functions | |
OvClassDefinition (System::IntPtr unmanaged, System::Boolean autoDelete) |
|
|
|
summary>Constructs an instance of an OvClassDefinition using the specified arguments</summary> <param name="name">Input name</param> <returns>Returns OvClassDefinition</returns> |
|
summary>Gets a collection of MySQL property overrides</summary> <returns>Returns the collection of MySQL property overrides</returns> |
|
<summary>Constructs a default of an NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVERSPATIAL::OvClassDefinition</summary> summary>Constructs an instance of an NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVERSPATIAL::OvClassDefinition using the specified arguments</summary> <param name="name">Input name</param> |
|
summary>Gets a collection of SqlServer property overrides</summary> <returns>Returns the collection of SqlServer property overrides</returns> |
|
summary>The initial value to use for the first row in the auto-increment column, if any.</summary> <remarks>This override is only valid if the AutoIncrementProperty override is set to a non-empty string. This works only for the following storage engine types: MyISAM, MEMORY as of MySQL 4.1, and InnoDB as of MySQL 5.0.3. This override is ignored on ApplySchema if this table is an existing table in a foreign database. </remarks> <returns>Returns the initial value to use for the first row in the auto-increment column</returns> |
|
summary>Sets the initial value to use for the first row in the auto-increment column, if any</summary> <returns>Returns nothing</returns> |
|
summary>Sets the increment value to use for the identity column, if there is one.</summary> <returns>Returns nothing</returns> |
|
summary>Set the type of the single IDENTITY column, if it exists</summary> <returns>Returns nothing</returns> |
|
summary>Retrieves the identity column's type, whether it is a non-globally-unique identity column or a globally-unique identity column.</summary> <remarks>Non-globally-unique identity columns have their value automatically populated by SQL Server on insert; the first value is set to the specified IdentitySeed, and all subsequent values are set using the specified IdentityIncrement. If defining such a column during ApplySchema, it must be one of the following SQL Server native data types: decimal, int, numeric, smallint, bigint, or tinyint. Note that the “not for replication?identity column flag is not exposed. Also note that the identifier column must not be nullable and must not contain a default value. Globally-unique identity columns do not have their value automatically populated by SQL Server. Instead SQL Server relies on the default value or the user to populate this value. To have this value populated automatically on insert, the user should set the default value to use the NEWID() function to obtain a globally-unique identity value. This override is ignored on ApplySchema if this column belongs to an existing table in a foreign database. This override is also ignored if IdentityPropertyName is not specified. </remarks> <returns>Returns the type of the single IDENTITY column, if it exists</returns> |
|
summary>Gets the first value to use for the identity column, if there is one.</summary> <returns>Returns nothing</returns> |
|
summary>Gets the SqlServer table override for this class override</summary> <returns>Returns NAMESPACE_OSGEO_FDO_PROVIDERS_RDBMS_OVERRIDE_SQLSERVERSPATIAL::OvTable</returns> |
|
summary>Gets the MySQL table override for this class override</summary> <returns>Returns OvTable</returns> |
|
summary>Gets the table overrides for this class override</summary> <returns>Returns OvTable</returns> |
|
summary>Sets the SqlServer table override for this class override</summary> <param name="name">Input SqlServer table override</param> <returns>Returns nothing</returns> |
|
summary>Sets the MySQL table override for this class override</summary> <param name="name">Input MySQL table override</param> <returns>Returns nothing</returns> |
|
summary>Gets the table mapping</summary> returns>Returns OvTableMappingType</returns> |
|
summary>Sets the table mapping</summary> <param name="mappingType">Input the mapping type</param> returns>Returns nothing</returns> |
|
summary>Gets which FDO property corresponds to the single MySQL auto-increment column</summary> <returns>Returns the FDO property corresponding to the single MySQL auto-increment column, or an empty string if there is no such property</returns> |
|
|
|
|
|
summary>Sets the first value to use for the identity column, if there is one.</summary> <remarks>This override defaults to 1. This override is ignored on ApplySchema if this column belongs to an existing table in a foreign database. This override is also ignored if IdentityPropertyName is not specified.</remarks> <returns>Returns the first value to use for the identity column</returns> |
|
summary>Gets which FDO property corresponds to the single SqlServer IDENTITY column</summary> <returns>Returns the FDO property corresponding to the single SqlServer IDENTITY column, or an empty string if there is no such property</returns> |
|
summary>Gets the increment value to use for the identity column, if there is one.</summary> <remarks>This override defaults to 1. This override is ignored on ApplySchema if this column belongs to an existing table in a foreign database. This override is also ignored if IdentityPropertyName is not specified.</remarks> <returns>Returns the increment value to use for the identity column</returns> |
|
|
|
summary>Specifies which FDO property corresponds to the single SqlServer IDENTITY column. This property corresponds to the singleton IDENTITY column of the SQL Server table. This is not to be confused with the usual FDO identity properties, which instead correspond to the primary key of a SQL Server table. </summary> <param name="name">Input SqlServer identity property name override. An empty string means there is no identity column for this class.</param> <returns>Returns nothing</returns> |
|
summary>Which FDO property maps to an MySQL auto-increment column, if any.</summary> <remarks>An empty string indicates there is no such column on this class’s table. There can only be at most one auto-increment column per table, it must be indexed, and it cannot have a default value. As of MySQL 3.23, an AutoIncrement column works properly only if it contains only positive values. Inserting a negative number is regarded as inserting a very large positive number. For MyISAM and BDB tables, you can specify an AUTO_INCREMENT secondary column in a multiple-column key. The first value in an AutoIncrement column is always 1 and always increments by 1 for each new value. This override is ignored on ApplySchema if this class refers to an existing table in a foreign database. </remarks> <param name="name"></param> <returns>Returns nothing</returns> |
|
|
|
|
Comments? |