mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
fix: Use Crestron SQLite for 4 series
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
using SqliteCommand = Crestron.SimplSharp.SQLite.SQLiteCommand;
|
||||
#else
|
||||
using Microsoft.Data.Sqlite;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using ICD.Common.Utils.IO;
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
using SqliteConnection = Crestron.SimplSharp.SQLite.SQLiteConnection;
|
||||
#else
|
||||
using Microsoft.Data.Sqlite;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
using SqliteDataReader = Crestron.SimplSharp.SQLite.SQLiteDataReader;
|
||||
#else
|
||||
using System;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
using SqliteParameter = Crestron.SimplSharp.SQLite.SQLiteParameter;
|
||||
#else
|
||||
using Microsoft.Data.Sqlite;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
using SqliteParameterCollection = Crestron.SimplSharp.SQLite.SQLiteParameterCollection;
|
||||
#else
|
||||
using Microsoft.Data.Sqlite;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
using Crestron.SimplSharp.CrestronData;
|
||||
#else
|
||||
using System;
|
||||
@@ -41,14 +41,14 @@ namespace ICD.Common.Utils.Sqlite
|
||||
public static class DbTypeExtensions
|
||||
{
|
||||
public static
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
DbType
|
||||
#else
|
||||
SqliteType
|
||||
#endif
|
||||
ToParamType(this eDbType extends)
|
||||
{
|
||||
#if SIMPLSHARP
|
||||
#if !NETSTANDARD
|
||||
return (DbType)extends;
|
||||
#else
|
||||
switch (extends)
|
||||
|
||||
Reference in New Issue
Block a user