mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -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
79 lines
1.6 KiB
C#
79 lines
1.6 KiB
C#
//
|
|
// System.Data.SqlClient.SqlClientPermission.cs
|
|
//
|
|
// Author:
|
|
// Rodrigo Moya ([email protected])
|
|
// Daniel Morgan ([email protected])
|
|
//
|
|
// (C) Ximian, Inc 2002
|
|
//
|
|
|
|
using System;
|
|
using System.Data;
|
|
using System.Data.Common;
|
|
using System.Security;
|
|
using System.Security.Permissions;
|
|
|
|
namespace System.Data.SqlClient {
|
|
|
|
public sealed class SqlClientPermission : DBDataPermission {
|
|
|
|
[MonoTODO]
|
|
public SqlClientPermission() {
|
|
// FIXME: do constructor
|
|
}
|
|
|
|
[MonoTODO]
|
|
public SqlClientPermission(PermissionState state) {
|
|
// FIXME: do constructor
|
|
}
|
|
|
|
[MonoTODO]
|
|
public SqlClientPermission(PermissionState state,
|
|
bool allowBlankPassword) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override IPermission Copy() {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override void FromXml(SecurityElement
|
|
securityElement) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override IPermission Intersect(IPermission target) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override bool IsSubsetOf(IPermission target) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override string ToString() {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override SecurityElement ToXml() {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override IPermission Union(IPermission target) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
~SqlClientPermission() {
|
|
// FIXME: destructor to release resources
|
|
}
|
|
}
|
|
}
|