Click or drag to resize
IDataManagerTEntity Interface
Data Manager

Namespace: DrawerBackup.Native.Data
Assembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntax
public interface IDataManager<TEntity>
where TEntity : BaseEntity

Type Parameters

TEntity

The IDataManagerTEntity type exposes the following members.

Methods
  NameDescription
Public methodAll
Get all stored entities
Public methodAny
Check if there is any stored entity
Public methodAny(ExpressionFuncTEntity, Boolean)
Chcek if there is any stored entity with the predicate
Public methodClose
Close the session with the database
Public methodCount
Count how many entities are stored
Public methodGetManager
Returns the manager of database for the current database engine
Public methodLoad
Trys to load the entity
Public methodOpenQuery
Creates a query to the entity
Public methodRemove
Remove the entity
Public methodSaveOrUpdate
Save or Update the Entity to a Store
Public methodSearch
Searchs for a Entity
Top
See Also