---
title: IDbConnectionService
summary: API reference for IDbConnectionService.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# IDbConnectionService

`IDbConnectionService` declares a disposable connection-string resolution contract; no implementation of it was found anywhere in this repository, so the concrete provider is unknown.

## Purpose
- Declares `GetConnectionString(instance, userName)` and `GetConnectionString(server, instance, userName)` overloads for resolving a database connection string**.

## Context
- Namespace: `SAIF.Core.Services`
- Kind: Interface
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `GetConnectionString` | `string GetConnectionString(string instance, string userName)` | Returns connection string, given `instance`, `userName`*. |

## Behavioral notes
- No implementation of `IDbConnectionService` was found in this repository; the implementer is unknown**.

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- Core/SAIF.Core/Services/IDbConnectionService.cs
