Click or drag to resize

SQLiteConnectionFind Method (Object, TableMapping)

Attempts to retrieve an object with the given primary key from the table associated with the specified type. Use of this method requires that the given type have a designated PrimaryKey (using the PrimaryKeyAttribute).

Namespace:  SQLite
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public Object Find(
	Object pk,
	TableMapping map
)

Parameters

pk
Type: SystemObject
The primary key.
map
Type: SQLiteTableMapping
The TableMapping used to identify the object type.

Return Value

Type: Object
The object with the given primary key or null if the object is not found.
See Also