Files
DP44/docs/ai/DataPRO/DTS.Core.DbAPIWrapper.md
2026-04-17 14:55:32 -04:00

1.2 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/DTS.Core.DbAPIWrapper/ApiInfo.cs
DataPRO/DTS.Core.DbAPIWrapper/DbApiWrapper.cs
2026-04-17T16:38:08.882749+00:00 zai-org/GLM-5-FP8 1 cb91814bb67d2020

Documentation: DTS.Core.DbAPIWrapper

1. Purpose

This module provides a wrapper layer around the DbAPI.DbAPI database access library, abstracting connection management, user authentication, and data retrieval operations for test setups and DAS (Data Acquisition System) records. It serves as the primary interface for client code to interact with the underlying database, encapsulating connection details and user session state within a single cohesive class.


2. Public Interface

Class: ApiInfo

A data container class holding authenticated session state.

Property Type Description
UserDbRecord IUserDbRecord? Nullable user database record representing the authenticated user.
ConnectionDetails IConnectionDetails? Nullable connection details for the active session.

Class: DbApiWrapper

Constructor

public DbApiWrapper(string dbServer, string