Check if the id exists in the database.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
public static bool Exists<PkType>( PkType id ) |
Parameters
- id
- PkType
The id to check on
Return Value
true if the ID exists; otherwise false.
Type Parameters
- PkType
- The System.Type of the PrimaryKey
See Also
Castle.ActiveRecord Namespace