.NET API Reference | OSGeo FDO Provider for MySQL |
#include <mgOvSchemaAutoGeneration.h>
Definition at line 34 of file mgOvSchemaAutoGeneration.h.
Public Member Functions | |
__property NAMESPACE_OSGEO_COMMON::StringCollection * | get_GenTableList () |
__property System::String * | get_GenTablePrefix () |
__property System::Int32 | get_MaxSampleRows () |
__property System::Boolean | get_RemoveTablePrefix () |
OvSchemaAutoGeneration () | |
__property System::Void | set_GenTablePrefix (System::String *tablePrefix) |
__property System::Void | set_MaxSampleRows (System::Int32 maxRows) |
__property System::Void | set_RemoveTablePrefix (System::Boolean removeTablePrefix) |
<returns>Returns nothing</returns> |
|
summary>Gets the table prefix for autogenerating class definitions. When set, an FDO Class Definition is automatically generated for each table whose name begins with this prefix. Any table already referenced by a class definition is skipped. Each generated class is added to the Feature Schema for this Schema Mapping Set. /summary> returns>Returns the class autogeneration table name prefix</returns> |
|
summary>Gets the maximum number of rows to sample when table data must be examined to determine schema information. The situations where this must be done depend on the provider. For example, when a geometric property is generated from a geometric column, the geomety types might be determined by examining some of the geometry values in the column. MaxSampleRows can be any positive integer or one of the following: 0: all rows in the table are sampled. (Not recommended for large datastores). -1: no rows are sampled. /summary> returns>Returns Int32.</returns> |
|
summary> Sets the table prefix for autogenerating class definitions. /summary> <param name="tablePrefix"> Input the table prefix. If L"" then no classes will be generated by table prefix. </param> returns>Returns nothing</returns> |
|
summary>Sets the maximum number of rows to sample when determining schema from table data. Higher values give a more accurate result but lower values provide better performance.</summary> <param name="maxRows">Input the maximum number of rows to sample.</param> returns>Returns nothing</returns> |
|
summary>Sets the "remove table prefix" setting.</summary> <param name="removeTablePrefix"> Input the "remove table prefix" setting. |
|
summary>Gets the table prefix removal setting. This setting affects how classes, generated from tables matching the table prefix, are named: when true, the class name is the table name with prefix removed. true is the default setting. when false, the class name is the table name. /summary> returns>Returns Boolean.</returns> |
|
|
|
<returns>Returns nothing</returns> summary>Gets the list of tables or views for which class definitions will be autogenerated. Once retrieved, the caller can populate this list. When set, an FDO Class Definition is automatically generated for each table in this list. Any table already referenced by a class definition is skipped. Each generated class is added to the Feature Schema for this Schema Mapping Set. Note: the only way to autogenerate a class definition from a view is to add the view name to this list. There is one caveat in that the generated class will not have identity properties. /summary> returns>Returns StringCollection</returns> |
Comments? |