예제 #1
0
        public void SelectsAllFields()
        {
            command.Execute <User>();

            sqlExecutor
            .Verify(x => x.ExecuteReader <User>(It.Is <string>(y => y.Contains("FROM Users"))));
        }
예제 #2
0
 public IEnumerable <T> Select <T>(
     IEnumerable <string> fields = null,
     dynamic condition           = null) where T : class
 {
     return(selectCommand.Execute <T>(
                fields: fields,
                condition: condition));
 }
 public void Select(List <CanvasItem> items)
 {
     _selectCommand.Execute(items);
 }