31 lines
934 B
C#
31 lines
934 B
C#
using Microsoft.Data.Sqlite;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Voile.Common.Reflection;
|
|
using Voile.Patchouli.Data;
|
|
using Voile.Patchouli.Reflection;
|
|
|
|
namespace Voile.Storage.Sqlite
|
|
{
|
|
[VoilePlugin]
|
|
[VoilePluginId(3)]
|
|
[Voile.Patchouli.Reflection.DisplayName("SQLite")]
|
|
[VoilePluginCanSaveFile(true,"SQLite3 Database (*.db)|*.db",CanSaveFileMode.SaveFile,false)]
|
|
public class SqliteDataStorageFactory : IVoileDataStorageFactory
|
|
{
|
|
public IVoileDataStorage CreateDataStorage()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[Description("The path to the SQLite database file. If it doesn't exist, it will be created")]
|
|
public string FilePath { get; set; }
|
|
|
|
private SqliteConnectionStringBuilder scsb;
|
|
}
|
|
}
|