40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
|
// Licensed to the .NET Foundation under one or more agreements.
|
||
|
// The .NET Foundation licenses this file to you under the MIT license.
|
||
|
// See the LICENSE file in the project root for more information.
|
||
|
|
||
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Data;
|
||
|
using System.Data.Common;
|
||
|
|
||
|
namespace System.Data.SqlClient
|
||
|
{
|
||
|
partial class SqlConnection : IDbConnection, ICloneable, IDisposable
|
||
|
{
|
||
|
public SqlConnection(string connectionString, SqlCredential credential)
|
||
|
{
|
||
|
ConnectionString = connectionString;
|
||
|
Credentials = credential;
|
||
|
}
|
||
|
|
||
|
[MonoTODO] //https://github.com/dotnet/corefx/issues/11958
|
||
|
public static void ChangePassword (string connectionString, string newPassword)
|
||
|
{
|
||
|
throw new NotImplementedException();
|
||
|
}
|
||
|
|
||
|
[MonoTODO] //https://github.com/dotnet/corefx/issues/11542
|
||
|
public SqlCredential Credentials {
|
||
|
get => throw new NotImplementedException();
|
||
|
set => throw new NotImplementedException();
|
||
|
}
|
||
|
|
||
|
#if !MOBILE
|
||
|
[MonoTODO]
|
||
|
public void EnlistDistributedTransaction(System.EnterpriseServices.ITransaction transaction)
|
||
|
{
|
||
|
throw new NotImplementedException();
|
||
|
}
|
||
|
#endif
|
||
|
}
|
||
|
}
|