Skip to content

Commit 87a1129

Browse files
committed
Add get flow and basic tests.
1 parent 0444198 commit 87a1129

File tree

5 files changed

+548
-39
lines changed

5 files changed

+548
-39
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,7 @@
10251025
<PackageReference Include="System.Buffers" Version="$(SystemBuffersVersion)" />
10261026
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="$(SystemSecurityCryptographyPkcsVersion)" />
10271027
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
1028+
<PackageReference Include="System.Threading.Channels" Version="$(SystemThreadingChannelsVersion)" />
10281029
</ItemGroup>
10291030
<Import Project="$(CommonSourceRoot)tools\targets\GenerateResourceStringsSource.targets" />
10301031
<Import Project="$(NetFxSource)tools\targets\GenerateThisAssemblyCs.targets" />

src/Microsoft.Data.SqlClient/src/Microsoft/Data/ProviderBase/DbConnectionInternal.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ internal DbConnectionInternal(ConnectionState state, bool hidePassword, bool all
9797

9898
#region Properties
9999

100+
internal DateTime CreateTime => _createTime;
101+
100102
internal bool AllowSetConnectionString { get; }
101103

102104
internal bool CanBePooled => !IsConnectionDoomed && !_cannotBePooled && !_owningObject.TryGetTarget(out _);

0 commit comments

Comments
 (0)