laatzen/LaaProductionWeb/LaaProduction.Data.SQL/Interfaces/ISQLCommand.cs
2024-04-22 09:00:01 +02:00

19 lines
443 B
C#

namespace LaaProduction.Data.SQL.Interfaces
{
using System;
using System.Collections.Generic;
public interface ISQLCommand
{
int ExecuteNonQuery();
IEnumerable<T> ExecuteReader<T>(Func<ISQLReader, T> expression);
T ExecuteScalar<T>(Func<ISQLReader, T> expression);
T FirstOrDefault<T>(Func<ISQLReader, T> expression);
ISQLCommand SetParameter(string name, object value);
}
}