BaseObject Constructor (Object, Int32)Nemiro.Data.dll
Called from constructors in derived classes in order to initialize the BaseObject class.

Namespace: Nemiro.Data.Sql
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public BaseObject(
	Object primaryKeyValue,
	int cacheDuration
)

Parameters

primaryKeyValue
Type: System Object
Identifier that should load the data into an instance of the derived class.
cacheDuration
Type: System Int32
Duration caching the query results (in seconds). Minus one or zero - without caching (default).
See Also