Show / Hide Table of Contents

Interface ITempTableManager

Inherited Members
IDisposable.Dispose()
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?

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top