21 lines
439 B
C#
21 lines
439 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace brecal.model
|
|
{
|
|
public interface IDBManager
|
|
{
|
|
|
|
void Load(Action<IDbCommand> prepareAction, Action<IDataReader> loadAction);
|
|
|
|
Task<object?> ExecuteScalar(Action<IDbCommand> prepareAction);
|
|
|
|
Task<int> ExecuteNonQuery(Action<IDbCommand> prepareAction);
|
|
|
|
}
|
|
}
|