public T GetFirstOrDefault <T>(object conditions) { SetSimpleCRUD(); using (var conn = new SqlConnection(_connectionString)) { conn.Open(); var ret = _simpleCRUD.GetFirstOrDefault <T>(conn, conditions); conn.Close(); return(ret); } }