536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
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">Microsoft</owner>
|
|
// <owner current="true" primary="false">Microsoft</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); }
|
|
}
|
|
}
|
|
}
|