mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
fix: Use Crestron SQLite for 4 series
This commit is contained in:
parent
3b313a442c
commit
92a28813e0
6 changed files with 8 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue