DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Deveel.Data.Linq.DeveelDbProvider Class Reference
Inheritance diagram for Deveel.Data.Linq.DeveelDbProvider:

Public Member Functions

 DeveelDbProvider (IQuery context, QueryMapping mapping, QueryPolicy policy)
 
override void DoTransacted (Action action)
 
override void DoConnected (Action action)
 
override int ExecuteCommand (string commandText)
 

Protected Member Functions

override QueryExecutor CreateExecutor ()
 

Private Attributes

readonly IQuery context
 

Detailed Description

Definition at line 10 of file DeveelDbProvider.cs.

Constructor & Destructor Documentation

Deveel.Data.Linq.DeveelDbProvider.DeveelDbProvider ( IQuery  context,
QueryMapping  mapping,
QueryPolicy  policy 
)
inline

Definition at line 13 of file DeveelDbProvider.cs.

14  : base(new DeveelDbLanguage(), mapping, policy) {
15  this.context = context;
16  }

Member Function Documentation

override QueryExecutor Deveel.Data.Linq.DeveelDbProvider.CreateExecutor ( )
inlineprotected

Definition at line 18 of file DeveelDbProvider.cs.

18  {
19  return new DeveelDbExecutor(context);
20  }
override void Deveel.Data.Linq.DeveelDbProvider.DoConnected ( Action  action)
inline

Definition at line 26 of file DeveelDbProvider.cs.

26  {
27  action();
28  }
override void Deveel.Data.Linq.DeveelDbProvider.DoTransacted ( Action  action)
inline

Definition at line 22 of file DeveelDbProvider.cs.

22  {
23  throw new NotImplementedException();
24  }
override int Deveel.Data.Linq.DeveelDbProvider.ExecuteCommand ( string  commandText)
inline

Definition at line 30 of file DeveelDbProvider.cs.

30  {
31  // TODO: what to return here?
32  context.ExecuteQuery(commandText);
33  return -1;
34  }

Member Data Documentation

readonly IQuery Deveel.Data.Linq.DeveelDbProvider.context
private

Definition at line 11 of file DeveelDbProvider.cs.


The documentation for this class was generated from the following file: