Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

CLI is complete, Tests are working. #1

Merged
merged 10 commits into from
Aug 11, 2012
Merged

CLI is complete, Tests are working. #1

merged 10 commits into from
Aug 11, 2012

Conversation

swsnider
Copy link
Member

GUI is a stub -- pay no attention to it :)

There was an ugly name clash between the assembly name for the class
library and the class I'm developing, which caused more typing, and was
just ugly. Therefore, I've refactored it to something more pleasing.
In the next couple of commits, when I implement actual unit tests, it'll
be useful to have a dependency-injected data source for mocking.
[Option(null, "connection_string", DefaultValue="Data Source=localhost; Initial Catalog=ebs_DATADUMP; Integrated Security=SSPI;", HelpText = "The database connection string to use.")]
public string connectionString { get; set; }

[Option("t", "table", DefaultValue="*", HelpText="The database table to extract. Defaults to '*'.")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default being a wildcard implies that (a) wildcards can be used and (b) multiple tables can be extracted at the same time. If this is the case, table(s) would probably be more appropriate, and a mention of what wildcards are allowed.

Note: I decided not to split the per-row logic into its own method
because I need to fire the progressMade events, and that's awkward to
split across the function boundary.
@swsnider
Copy link
Member Author

PTAL.

@ayust
Copy link
Member

ayust commented Aug 11, 2012

LGTM

swsnider added a commit that referenced this pull request Aug 11, 2012
@swsnider swsnider merged commit e129afb into eve-val:master Aug 11, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants