19 lines
563 B
C#
19 lines
563 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace WebMatrix.WebData
|
|
{
|
|
internal interface IDatabase : IDisposable
|
|
{
|
|
dynamic QuerySingle(string commandText, params object[] args);
|
|
|
|
IEnumerable<dynamic> Query(string commandText, params object[] parameters);
|
|
|
|
dynamic QueryValue(string commandText, params object[] parameters);
|
|
|
|
int Execute(string commandText, params object[] args);
|
|
}
|
|
}
|