| File: System\Data\Common\DbBatchCommand.cs | Web Access |
| Project: src\runtime\src\libraries\System.Data.Common\src\System.Data.Common.csproj (System.Data.Common) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using System.Diagnostics.CodeAnalysis; namespace System.Data.Common { public abstract class DbBatchCommand { public abstract string CommandText { get; set; } public abstract CommandType CommandType { get; set; } public abstract int RecordsAffected { get; } public DbParameterCollection Parameters => DbParameterCollection; protected abstract DbParameterCollection DbParameterCollection { get; } public virtual DbParameter CreateParameter() => throw new NotSupportedException(); public virtual bool CanCreateParameter => false; } }