Click or drag to resize

IDatabase Interface

Interface for database

Namespace:  EBP.Api.Interfaces.Database
Assembly:  EBP.Api.Common (in EBP.Api.Common.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
public interface IDatabase : IDisposable, 
	IEquatable<IProxy>

The IDatabase type exposes the following members.

Properties
  NameDescription
Public propertyConnectedUserLogin
Gets the login of the connected user.
Top
Methods
  NameDescription
Public methodCheckRights(Guid, ReadUpdateRightKind)
Checks Read/Update right for the current user
Public methodCheckRights(Guid, StandardRightKind)
Checks rights for current user.
Public methodCheckRights(Guid, YesNoRightKind)
Checks Yes/No right for the current user
Public methodCreateLock
Creates a lock for a table and a primary key
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodExecuteNonQuery
Executes a query
Public methodExecuteScalar
Executes a single command.
Public methodExecuteTableCommand
Executes a select command and returns a DataTable object
Public methodLock
Adds a lock in the database
Public methodUnlock
Removes a lock
Top
See Also