SqlDataAdapter
using System.Data.Common;
namespace System.Data.SqlClient
{
public sealed class SqlDataAdapter : DbDataAdapter, IDataAdapter, IDbDataAdapter, ICloneable
{
public new SqlCommand DeleteCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public new SqlCommand InsertCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public new SqlCommand SelectCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
IDbCommand IDbDataAdapter.DeleteCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
IDbCommand IDbDataAdapter.InsertCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
IDbCommand IDbDataAdapter.SelectCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
IDbCommand IDbDataAdapter.UpdateCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public override int UpdateBatchSize {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public new SqlCommand UpdateCommand {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public event SqlRowUpdatedEventHandler RowUpdated {
add {
}
remove {
}
}
public event SqlRowUpdatingEventHandler RowUpdating {
add {
}
remove {
}
}
public SqlDataAdapter()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlDataAdapter(SqlCommand selectCommand)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlDataAdapter(string selectCommandText, SqlConnection selectConnection)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlDataAdapter(string selectCommandText, string selectConnectionString)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
protected override void OnRowUpdated(RowUpdatedEventArgs value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
protected override void OnRowUpdating(RowUpdatingEventArgs value)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
object ICloneable.Clone()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
}