Click or drag to resize

DataUtilsPopulateTempTableT Method

Creates a temporary db table with a single column and populates it with values.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static void PopulateTempTable<T>(
	string tableName,
	IEnumerable<T> values,
	TempTableOptions options,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction = null
)

Parameters

tableName
Type: SystemString
Name of the temporary table to be created - must not begin with "#".
values
Type: System.Collections.GenericIEnumerableT
The values to be added to the table. Only distinct values will be added.
options
Type: Omada.OE.AppLogicTempTableOptions
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction (Optional)
Type: System.Data.SqlClientSqlTransaction

Type Parameters

T
Must be either int, Guid or string.
See Also