SqlScriptSaveOptions Class
Contents
[
Hide
]SqlScriptSaveOptions class
Represents the options of saving sql.
type SqlScriptSaveOptions struct {
ptr unsafe.Pointer
}
Constructors
| Method | Description |
|---|---|
| NewSqlScriptSaveOptions | Creates options for saving sql file. |
| NewSqlScriptSaveOptions_SaveOptions | Constructs from a parent object. |
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetCheckIfTableExists | Check if the table name exists before creating |
| SetCheckIfTableExists | Check if the table name exists before creating |
| GetColumnTypeMap | Gets and sets the map of column type for different database. |
| SetColumnTypeMap | Gets and sets the map of column type for different database. |
| GetCheckAllDataForColumnType | Check all data to find columns’ data type. |
| SetCheckAllDataForColumnType | Check all data to find columns’ data type. |
| GetAddBlankLineBetweenRows | Insert blank line between each data. |
| SetAddBlankLineBetweenRows | Insert blank line between each data. |
| GetSeparator | Gets and sets character separator of sql script. |
| SetSeparator | Gets and sets character separator of sql script. |
| GetOperatorType | Gets and sets the operator type of sql. |
| SetOperatorType | Gets and sets the operator type of sql. |
| GetPrimaryKey | Represents which column is primary key of the data table. |
| SetPrimaryKey | Represents which column is primary key of the data table. |
| GetCreateTable | Indicates whether exporting sql of creating table. |
| SetCreateTable | Indicates whether exporting sql of creating table. |
| GetIdName | Gets and sets the name of id column. |
| SetIdName | Gets and sets the name of id column. |
| GetStartId | Gets and sets the start id. |
| SetStartId | Gets and sets the start id. |
| GetTableName | Gets and sets the table name. |
| SetTableName | Gets and sets the table name. |
| GetExportAsString | Indicates whether exporting all data as string value. |
| SetExportAsString | Indicates whether exporting all data as string value. |
| GetSheetIndexes | Represents the indexes of exported sheets. |
| SetSheetIndexes | Represents the indexes of exported sheets. |
| GetExportArea | Gets or sets the exporting range. |
| SetExportArea | Gets or sets the exporting range. |
| GetHasHeaderRow | Indicates whether the range contains header row. |
| SetHasHeaderRow | Indicates whether the range contains header row. |
| GetSaveFormat | Gets the save file format. |
| GetClearData | Make the workbook empty after saving the file. |
| SetClearData | Make the workbook empty after saving the file. |
| GetCachedFileFolder | The folder for temporary files that may be used as data cache. |
| SetCachedFileFolder | The folder for temporary files that may be used as data cache. |
| GetValidateMergedAreas | Indicates whether validate merged cells before saving the file. |
| SetValidateMergedAreas | Indicates whether validate merged cells before saving the file. |
| GetMergeAreas | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| SetMergeAreas | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| GetCreateDirectory | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| SetCreateDirectory | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| GetSortNames | Indicates whether sorting defined names before saving file. |
| SetSortNames | Indicates whether sorting defined names before saving file. |
| GetSortExternalNames | Indicates whether sorting external defined names before saving file. |
| SetSortExternalNames | Indicates whether sorting external defined names before saving file. |
| GetRefreshChartCache | Indicates whether refreshing chart cache data |
| SetRefreshChartCache | Indicates whether refreshing chart cache data |
| GetCheckExcelRestriction | Whether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated. |
| SetCheckExcelRestriction | Whether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated. |
| GetUpdateSmartArt | Indicates whether updating smart art setting.The default value is false. |
| SetUpdateSmartArt | Indicates whether updating smart art setting.The default value is false. |
| GetEncryptDocumentProperties | Indicates whether encrypt document properties when saving as .xls file.The default value is true. |
| SetEncryptDocumentProperties | Indicates whether encrypt document properties when saving as .xls file.The default value is true. |