Click or drag to resize

IBufferTableExtensionsMerge Method

Merges the table with the rows of the specified other table.

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static void Merge(
	this IBufferTable table,
	IBufferTable otherTable
)

Parameters

table
Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferTable
The table.
otherTable
Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferTable
The table to merge with.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IBufferTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullException When table or otherTable is null.
Remarks
The Merge method iterates all rows from the other table and tries to find them in the local table. The matching is performed by the primary key. If a row is not found locally, it is added. If a row is found in the local table, it is updated. The changes are not accepted at the end, it is up to the user.
See Also