Make base system.data.sqlite classes public

This commit is contained in:
UnknownShadow200 2019-08-24 22:39:52 +10:00
parent 35a83e6333
commit 54ce886c0a

View File

@ -15,17 +15,17 @@
or implied. See the Licenses for the specific language governing
permissions and limitations under the Licenses.
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using System.Threading;
using SQLiteErrorCode = System.Int32;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using System.Threading;
using SQLiteErrorCode = System.Int32;
namespace MCGalaxy.SQL {
@ -428,7 +428,7 @@ namespace MCGalaxy.SQL {
}
}
sealed class SQLiteCommand : IDbCommand {
public sealed class SQLiteCommand : IDbCommand {
string strCmdText, strRemaining;
SQLiteConnection conn;
SQLiteParameterCollection parameters = new SQLiteParameterCollection();
@ -711,7 +711,7 @@ namespace MCGalaxy.SQL {
public TypeAffinity Affinity;
}
sealed class SQLiteDataReader : IDataReader {
public sealed class SQLiteDataReader : IDataReader {
SQLiteCommand _command;
SQLiteStatement stmt;
int readState, rowsAffected, columns;
@ -982,7 +982,7 @@ namespace MCGalaxy.SQL {
public const int Done = 101;
}
sealed class SQLiteParameter : IDbDataParameter {
public sealed class SQLiteParameter : IDbDataParameter {
int type = -1;
object value;
string name;
@ -1022,7 +1022,7 @@ namespace MCGalaxy.SQL {
public int Size { get { return 0; } set { } }
}
sealed class SQLiteParameterCollection : IDataParameterCollection {
public sealed class SQLiteParameterCollection : IDataParameterCollection {
internal List<SQLiteParameter> list = new List<SQLiteParameter>();
public bool IsSynchronized { get { return false; } }
public bool IsFixedSize { get { return false; } }
@ -1260,7 +1260,7 @@ namespace MCGalaxy.SQL {
}
}
sealed class SQLiteTransaction : IDbTransaction {
public sealed class SQLiteTransaction : IDbTransaction {
SQLiteConnection conn;
internal SQLiteTransaction(SQLiteConnection connection) {