[System.Data] move to corefx (#4893)
[mono-project.git] / mcs / class / System.Data / corefx / SqlConnection.cs
blob20638a4e970007aac13d2116d96e1fcc5a1f0b4c
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.
5 using System;
6 using System.Collections;
7 using System.Data;
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();
32 #if !MOBILE
33 [MonoTODO]
34 public void EnlistDistributedTransaction(System.EnterpriseServices.ITransaction transaction)
36 throw new NotImplementedException();
38 #endif