Azure / Azure/elastic-db-tools

MultiShardConnection should inherit from System.Data.Common.DbConnection

Open
#179 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
147
Forks
108
PR merge metrics
No merged PRs in 30d

Description

My code needs to run in both environments: single database and multishard databases. I need an ease way to manipulate between MultiShardConnection and SqlConnection, between MultiShardCommand and SqlCommand and so on. I would be very gratefull if MultiShardConnection class whould inherit from System.Data.Common.DbConnection class. That would make possible for me to operate on abstract classes from System.Data.Common namespace instead of specific implementation either MultiShardConnection or SqlConnection.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating MultiShardConnection and the related MultiShardCommand classes, then compare their public contracts with System.Data.Common.DbConnection and the corresponding ADO.NET abstractions. Check how the single-database and multishard types are currently used; the work is done when the requested common abstraction can support both environments without breaking existing APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.