e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="SqlRowUpdatingEvent.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
// <owner current="true" primary="true">[....]</owner>
|
|
// <owner current="true" primary="false">[....]</owner>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Data.SqlClient {
|
|
using System;
|
|
using System.Data;
|
|
using System.Data.Common;
|
|
|
|
public sealed class SqlRowUpdatingEventArgs : RowUpdatingEventArgs {
|
|
|
|
public SqlRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
|
|
: base(row, command, statementType, tableMapping) {
|
|
}
|
|
|
|
new public SqlCommand Command {
|
|
get { return (base.Command as SqlCommand); }
|
|
set { base.Command = value; }
|
|
}
|
|
|
|
override protected IDbCommand BaseCommand {
|
|
get { return base.BaseCommand; }
|
|
set { base.BaseCommand = (value as SqlCommand); }
|
|
}
|
|
}
|
|
}
|