Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IDatabaseConnection.cs
1using System;
2using System.Threading.Tasks;
5
7{
11 public interface IDatabaseConnection : ILambdaExpression, IDisposable
12 {
18 Task<IElement> ExecuteSqlStatement(string Statement);
19
25 Task<IElement> GetSchema(string Name);
26
32 Task<ILambdaExpression> GetProcedure(string Name);
33
39 Task<ILambdaExpression> this[string Name] { get; }
40 }
41}
Interface for database connections
Task< IElement > ExecuteSqlStatement(string Statement)
Executes an SQL Statement on the database.
Task< ILambdaExpression > GetProcedure(string Name)
Creates a lambda expression for accessing a stored procedure.
Task< IElement > GetSchema(string Name)
Gets a Schema table, given its collection name.
Base interface for lambda expressions.