Created
July 27, 2018 01:48
-
-
Save wellingtonjhn/5f96c45ce7f8ea621e87c13640c83533 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public abstract class Repository | |
| { | |
| protected string ConnectionString { get; } | |
| protected Repository(IConfiguration configuration) | |
| { | |
| ConnectionString = configuration.GetConnectionString("DefaultConnection"); | |
| } | |
| // ... código omitido | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment