Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Merge | DbConnectionString#3416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
benrr101 merged 3 commits intomainfromdev/russellben/merge/move-dbconnectionstring
Jun 17, 2025

Conversation

benrr101
Copy link
Contributor

Description

This merge PR is pretty simple. It moves the DbConnectionString class from the netfx project into the common project. It was originally named DBConnectionString but is now renamed to DbConnectionString to follow naming conventions (after@paulmedynski caused a bunch of merge conflicts fixing broken link to the old name...)

I developed this PR on top of some cleanup work for DbConnectionOptions that I rebased off of. There may be some remnants of those changes in this PR.

Issues

Continues work on#1261

Testing

Class is just being renamed and moved, project still builds, CI should be good to verify.

@benrr101benrr101 added this to the7.0-preview1 milestoneJun 12, 2025
@CopilotCopilotAI review requested due to automatic review settingsJune 12, 2025 17:06
@benrr101benrr101 added the Common Project 🚮Things that relate to the common project project labelJun 12, 2025
@benrr101benrr101 requested a review froma team as acode ownerJune 12, 2025 17:06
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR consolidates theDbConnectionString class into the common project and renames it fromDBConnectionString to follow naming conventions, updating all consumers accordingly.

  • Renamed and relocatedDBConnectionString toDbConnectionString underCommon
  • UpdatedSqlClientPermission to reference the renamed class
  • Adjusted the .csproj to include the new file and remove the old compile entry

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

FileDescription
SqlClientPermission.netfx.csSwitched fromDBConnectionString toDbConnectionString usage
DbConnectionString.netfx.csRenamed class and replaced KEY constants withDbConnectionStringKeywords and synonyms
netfx/src/Microsoft.Data.SqlClient.csprojAdded compile include forDbConnectionString.netfx.cs, removedDBConnectionString.cs
Comments suppressed due to low confidence (2)

src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj:951

  • Verify the surrounding<ItemGroup> tags after removing this closing tag and the next<ItemGroup> to ensure the XML structure remains valid and all<Compile> entries are grouped correctly.
</ItemGroup>

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlClientPermission.netfx.cs:65

  • [nitpick] Consider adding or updating unit tests around permission entries that useDbConnectionString to ensure behavior hasn’t regressed after the rename.
AddPermissionEntry(new DbConnectionString(constr));

@codecovCodecov
Copy link

codecovbot commentedJun 13, 2025
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.58%. Comparing base(2385ca7) to head(fc8e5b9).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@##           main    #3416       +/-   ##=========================================+ Coverage      0   92.58%   +92.58%=========================================  Files         0        6        +6       Lines         0      310      +310     =========================================+ Hits          0      287      +287- Misses        0       23       +23
FlagCoverage Δ
addons92.58% <ø> (?)

Flags with carried forward coverage won't be shown.Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@benrr101benrr101 merged commit95253ac intomainJun 17, 2025
251 checks passed
@benrr101benrr101 deleted the dev/russellben/merge/move-dbconnectionstring branchJune 17, 2025 17:51
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@mdaiglemdaiglemdaigle approved these changes

@paulmedynskipaulmedynskipaulmedynski approved these changes

Assignees
No one assigned
Labels
Common Project 🚮Things that relate to the common project project
Projects
None yet
Milestone
6.1-preview2
Development

Successfully merging this pull request may close these issues.

3 participants
@benrr101@mdaigle@paulmedynski

[8]ページ先頭

©2009-2025 Movatter.jp