mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* System.Data.build: took out all excluded files except the ones in the Test directory because all files compile now. It does not mean they all work or have implementations though. * System.Data/DataRelationCollection.cs * System.Data/DataTableRelationCollection.cs * System.Data/InternalDataCollectionBase.cs * System.Data.Common/DbDataPermission.cs * System.Data.SqlClient/SqlInfoMessageEventArgs.cs * System.Data.SqlClient/SqlClientPermission.cs * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes to get all System.Data* files to compile. * System.Data.SqlClient/SqlCommand.cs: started coding to prevent SqlConnection and SqlCommand from doing anyting while fetching data using SqlDataReader. Also, started coding to undo this prevention once the SqlDataReader is closed. * System.Data.SqlClient/SqlConnection.cs: get database server version. Started coding to prevent connection from doing anything while fetching data and undo once the reader is closed. Include events SqlInfoMessage and StateChange. * System.Data.SqlClient/SqlDataReader.cs: start coding to prevent connection and command from doing anything while fetching data, and undo when closed. * Test/PostgresTest.cs: added test to get ServerVersion property from SqlConnection svn path=/trunk/mcs/; revision=4742
52 lines
905 B
C#
52 lines
905 B
C#
//
|
|
// System.Data.SqlClient.SqlInfoMessageEventArgs.cs
|
|
//
|
|
// Author:
|
|
// Rodrigo Moya ([email protected])
|
|
// Daniel Morgan ([email protected])
|
|
//
|
|
// (C) Ximian, Inc 2002
|
|
//
|
|
|
|
using System;
|
|
using System.Data;
|
|
|
|
namespace System.Data.SqlClient
|
|
{
|
|
public sealed class SqlInfoMessageEventArgs : EventArgs
|
|
{
|
|
[MonoTODO]
|
|
public SqlErrorCollection Errors {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public string Message
|
|
{
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public string Source {
|
|
get {
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override string ToString() {
|
|
// representation of InfoMessage event
|
|
return "'ToString() for SqlInfoMessageEventArgs Not Implemented'";
|
|
}
|
|
|
|
//[MonoTODO]
|
|
//~SqlInfoMessageEventArgs() {
|
|
// FIXME: destructor needs to release resources
|
|
//}
|
|
}
|
|
}
|