Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (18 sloc) 0.934 kB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ResultSet = System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>>;
namespace Simple.Data
{
/// <summary>
/// Represents an Adapter which supports functions; for example, the Ado adapter supports this with Stored Procedures.
/// </summary>
/// <remarks>It may be possible to add functions to access data-store specific functionality (CreateIndex?) with this interface.</remarks>
public interface IAdapterWithFunctions
{
bool IsValidFunction(string functionName);
IEnumerable<ResultSet> Execute(string functionName, IDictionary<string, object> parameters);
IEnumerable<ResultSet> Execute(string functionName, IDictionary<string, object> parameters, IAdapterTransaction transaction);
}
}
Jump to Line
Something went wrong with that request. Please try again.