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