Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Refine the Fluent Interface #4

Closed
codeimpossible opened this issue Feb 13, 2012 · 0 comments
Closed

Refine the Fluent Interface #4

codeimpossible opened this issue Feb 13, 2012 · 0 comments
Assignees

Comments

@codeimpossible
Copy link
Owner

ConnectionString, Table, and PrimaryKey should all be methods on the FluentInterface. This would allow users to do method chaining in the configurations:

DynamicTable.Configure( c => c.WhenAskedFor("Users").Use( s => {
        s.ConnectionString("Test").PrimaryKey("ContactID").Table("Person.Contact");
    })); 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant