Files
mono/mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
T
Tim Coleman 3f9d2e0d6f 2002-11-08 Tim Coleman <[email protected]>
* System.Data/DataRow.cs:
        * System.Data/DataTable.cs:
                Some fix-ups related to the DbDataAdapter to make it work.
        * System.Data.Common/DbDataAdapter.cs:
                Fix the Fill () and Update () methods.  These now work
                fairly well.  Need mucho testing.
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Support table mappings and parameter source versions now.
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                Add set accessor for transaction so that SqlTransaction.Commit ()
                will remove itself from the connection.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                Update/Insert/Delete command should be null by default.
        * System.Data.SqlClient/SqlException.cs:
                Remove a TODO attribute
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
                Properly handle the SqlCommand object

svn path=/trunk/mcs/; revision=8889
2002-11-08 19:13:08 +00:00

48 lines
982 B
C#

//
// System.Data.SqlClient.SqlRowUpdatingEventArgs.cs
//
// Author:
// Rodrigo Moya ([email protected])
// Daniel Morgan ([email protected])
// Tim Coleman ([email protected])
//
// (C) Ximian, Inc 2002
// Copyright (C) Tim Coleman, 2002
//
using System;
using System.Data;
using System.Data.Common;
namespace System.Data.SqlClient {
public sealed class SqlRowUpdatingEventArgs : RowUpdatingEventArgs
{
#region Fields
SqlCommand command = null;
#endregion // Fields
#region Constructors
[MonoTODO]
public SqlRowUpdatingEventArgs (DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
: base (row, command, statementType, tableMapping)
{
if (command != null)
this.command = (SqlCommand) command;
}
#endregion // Constructors
#region Properties
public new SqlCommand Command {
get { return (SqlCommand) base.Command; }
set { base.Command = value; }
}
#endregion // Properties
}
}