 | DatabaseAccessorT Class |
Generic accessor for the database, which opens a new connection for each call and closes it immediately when returning.
Inheritance Hierarchy Namespace: LynceeTec.EucalyptusAssembly: LynceeTec.Eucalyptus (in LynceeTec.Eucalyptus.dll) Version: 10.2.3317.0 , built 2025-03-17 14:55:33 UTC
Syntaxpublic class DatabaseAccessor<T>
where T : class, ILynceeDataSet
generic<typename T>
where T : ref class, ILynceeDataSet
public ref class DatabaseAccessor
Type Parameters
- T
- A database table type, implementing ILynceeDataSet
The DatabaseAccessorT type exposes the following members.
Constructors
Methods | Name | Description |
---|
 | AddRow |
Add a row to the specific table (changes are saved at once).
|
 | DeleteRow(T) |
Delete a row from the specific table (changes are saved at once).
|
 | DeleteRow(Int32) |
Delete a row from the specific table (changes are saved at once).
|
 | DeleteRow(Int64) |
Delete a row from the specific table (changes are saved at once).
|
 | DuplicateRow(Int32, TupleString, Object) |
Duplicates the row with a specific primary key from a table
|
 | DuplicateRow(Int64, TupleString, Object) |
Duplicates the row with a specific primary key from a table
|
 | EditRow |
Edit a row from a specific table (changes are saved at once).
|
 | GetAllRows |
Gets all the rows from a table
|
  | GetAllRows(String) |
Gets all the rows from a table
|
  | GetAllRowsTParam(ExpressionFuncT, TParam) |
Gets all the rows from a table, including a related object
|
  | GetFilteredRows(FuncT, Boolean) |
Get all rows corresponding to a filter parameter
|
  | GetFilteredRows(FuncT, Boolean, String) |
Get all rows corresponding to a filter parameter, including several related objects
|
  | GetFilteredRowsTParam(FuncT, Boolean, ExpressionFuncT, TParam) |
Get all rows corresponding to a filter parameter, including a related object
|
 | GetRow(Int32) |
Gets the row with a specific primary key from a table
|
 | GetRow(Int64) |
Gets the row with a specific primary key from a table
|
  | GetRowIndex |
Searches for an element that matches the conditions defined by the specified
predicate, and returns the zero-based index of the first occurrence within the
table.
|
Top
See Also