1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
6 using System
.Collections
;
8 using System
.Data
.Common
;
10 namespace System
.Data
.SqlClient
12 partial class SqlConnection
: IDbConnection
, ICloneable
, IDisposable
14 public SqlConnection(string connectionString
, SqlCredential credential
)
16 ConnectionString
= connectionString
;
17 Credentials
= credential
;
20 [MonoTODO
] //https://github.com/dotnet/corefx/issues/11958
21 public static void ChangePassword (string connectionString
, string newPassword
)
23 throw new NotImplementedException();
26 [MonoTODO
] //https://github.com/dotnet/corefx/issues/11542
27 public SqlCredential Credentials
{
28 get => throw new NotImplementedException();
29 set => throw new NotImplementedException();
34 public void EnlistDistributedTransaction(System
.EnterpriseServices
.ITransaction transaction
)
36 throw new NotImplementedException();