SqlTransaction
using System.Data.Common;
namespace System.Data.SqlClient
{
public sealed class SqlTransaction : DbTransaction
{
public new SqlConnection Connection {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
protected override DbConnection DbConnection {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public override IsolationLevel IsolationLevel {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
internal SqlTransaction()
{
}
public override void Commit()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
protected override void Dispose(bool disposing)
{
}
public override void Rollback()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public new void Rollback(string transactionName)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public new void Save(string savePointName)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
}