Support MS Config v2, fixes #108, #111, #99 #123
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a refresh of PR 120. This involves structural changes to the project, please don't merge other PRs until this one is complete (or withdrawn 😄), it can be quite difficult to merge config-related changes into this PR.
Fixes #108, adds .NET Standard MS Configuration 2.x package support, converts the project to multi-target, and adds
ColumnOptions
configuration via config section (.NET Standard only). Also fixes #111 and fixes #99, and touches on #91 (see issue comments, maybe shouldn't close that one).New to this PR:
net45
build target folder isConfiguration\NetFramework.ConfigurationManger
netstandard2_0
build target isConfiguration\Microsoft.Extensions.Configuration
using
statements (ex.System.Drawing
)As in the earlier PR:
net452
references removed (unnecessary, fully backwards-compatible with minimum targetnet45
)NETCORE
,NETSTANDARD
,NETSTANDARD2_0
) removedConvertSqlDataType
to simplify config extension methodsIConfiguration appConfiguration
to extension (for named connection string)IConfigurationSection columnOptionsSection
parameter on config extensionusing
statements, formatting, etc.)netstandard2_0
unit test for named connection string fromIConfiguration
netstandard2_0
unit test forColumnOptions
fromIConfigurationSection