Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 960 Bytes

068 DbParameter.Precision and DbParameter.Scale are now public virtual members.md

File metadata and controls

29 lines (19 loc) · 960 Bytes

68: DbParameter.Precision and DbParameter.Scale are now public virtual members

Scope

Minor

Version Introduced

4.5.1

Source Analyzer Status

Available

Change Description

DbParameter.Precision and DbParameter.Scale are implemented as public virtual properties. They replace the corresponding explicit interface implementations, DbParameter.IDbDataParameter.Precision and DbParameter.IDbDataParameter.Scale.

  • Quirked
  • Build-time break

Recommended Action

When re-building an ADO.NET database provider, these differences will require the 'override' keyword to be applied to the Precision and Scale properties. This is only needed when re-building the components; existing binaries will continue to work.

Affected APIs

  • P:System.Data.Common.DbParameter.Precision
  • P:System.Data.Common.DbParameter.Scale

Category

ADO.NET

More information