public void SelectsAllFields() { command.Execute <User>(); sqlExecutor .Verify(x => x.ExecuteReader <User>(It.Is <string>(y => y.Contains("FROM Users")))); }
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); }