Interface ITempTableManager
Inherited Members
Namespace: SuperOffice.Data.Dialect
Assembly: SoDataBase.dll
Syntax
public interface ITempTableManager : IDisposable
Methods
CreateTempCopyForTableAsync(TableInfo, List<FieldInfo>, CancellationToken)
Create a temporary table that reflects the given fields from an existing table. Removed on Dispose()
Declaration
Task<SoTable> CreateTempCopyForTableAsync(TableInfo baseTable, List<FieldInfo> fields, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| TableInfo | baseTable | Table to create. |
| List<FieldInfo> | fields | Fields to create. |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<SoTable> |
RemoveTempTables(List<string>, bool)
Remove temporary tables
Declaration
void RemoveTempTables(List<string> tableNames, bool updateNetserverSoDictionary = false)
Parameters
| Type | Name | Description |
|---|---|---|
| List<string> | tableNames | Names of tables to remove. |
| bool | updateNetserverSoDictionary | Should NetServer SoDictionary be updated? |