Click or drag to resize

IBufferTableExtensionsFindOrLoadRow Method

Searches for the row in the table. If not found it is loaded from the data store.

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static IBufferRow FindOrLoadRow(
	this IBufferTable table,
	Guid id,
	bool includeDeletedRows = false
)

Parameters

table
Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferTable
The table.
id
Type: SystemGuid
The Id of the row.
includeDeletedRows (Optional)
Type: SystemBoolean
if set to true include deleted rows in the search.

Return Value

Type: IBufferRow
The found or loaded row. Throws exception if the row was neither found nor successfully loaded.

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).
See Also