mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
stubbed out where necessary. Fixed attributes for ConnectionString on 2.0 profile. Marked several members as override on 2.0 profile. Do not hide StateChange event. Code formatting. * OleDbCommandBuilder.cs: On 2.0, derive from DbCommandBuilder. Do not include QuotePrefix and QuoteSuffix on 2.0. Stubbed out 2.0 members. * OleDbDataAdapter.cs: On 2.0, derive from DbDataAdapter. Stubbed out 2.0 members. Do not not override Dispose on 2.0. Code formatting. * OleDbDataReader.cs: Derive from DbDataReader on 2.0 profile. Marked several members as override. Stubbed VisibleFieldCount. Added EditorBrowsable attribute on GetData. Added GetDbDataReader on 2.0. On 2.0, override GetEnumerator instead of explicit interface implementation. * OleDbErrorCollection.cs: Added 2.0 CopyTo overload. * OleDbInfoMessageEventHandler.cs: Do not mark class serializable on 2.0 profile. Fixed API mismatch. * OleDbParameter.cs: On 2.0, derive from DbParameter. Added new 2.0 ctor. Override properties from base class and added SourceColumnNullMapping property on 2.0. Implemented ResetDbType and ResetOleDbType methods on 2.0. * OleDbParameterCollection.cs: Derive from DbParameterCollection on 2.0 profile. Marked several members as override. Implemented AddRange, CopyTo, IndexOf, Insert, Remove and RemoveAt methods introduced in 2.0 profile. Stubbed out GetParameter and SetParameter overloads. * OleDbPermission.cs: Added missing BrowsableAttribute on Provider. Code formatting. * OleDbPermissionAttribute.cs: Added BrowsableAttribute on Provdider (2.0 only). * OleDbRowUpdatedEventHandler.cs: Do not mark class serializable on 2.0 profile. * OleDbRowUpdatingEventArgs.cs: Removed unused command field. Added BaseCommand property on 2.0 * OleDbRowUpdatingEventHandler.cs: Do not mark class serializable on 2.0 profile. Fixed API mismatch. * OleDbTransaction.cs: On 2.0, derive from DbTransaction. Added DbConnection property and override Dispose (both 2.0 only). On 2.0, Override Commit and Rollback. Code formatting. svn path=/trunk/mcs/; revision=81189
43 lines
1.5 KiB
C#
43 lines
1.5 KiB
C#
//
|
|
// System.Data.OleDb.OleDbInfoMessageEventHandler
|
|
//
|
|
// Author:
|
|
// Rodrigo Moya ([email protected])
|
|
//
|
|
// Copyright (C) Rodrigo Moya, 2002
|
|
//
|
|
|
|
//
|
|
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining
|
|
// a copy of this software and associated documentation files (the
|
|
// "Software"), to deal in the Software without restriction, including
|
|
// without limitation the rights to use, copy, modify, merge, publish,
|
|
// distribute, sublicense, and/or sell copies of the Software, and to
|
|
// permit persons to whom the Software is furnished to do so, subject to
|
|
// the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be
|
|
// included in all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
//
|
|
|
|
using System.Data;
|
|
using System.Data.Common;
|
|
|
|
namespace System.Data.OleDb
|
|
{
|
|
#if !NET_2_0
|
|
[Serializable]
|
|
#endif
|
|
public delegate void OleDbInfoMessageEventHandler (object sender, OleDbInfoMessageEventArgs e);
|
|
}
|