43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
using Microsoft.Data.SqlClient;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Voile.Common.DRM;
|
|
using Voile.Common.Reflection;
|
|
using Voile.Patchouli.Data;
|
|
using Voile.Patchouli.Reflection;
|
|
|
|
namespace Voile.Storage.SqlServer
|
|
{
|
|
[VoilePlugin]
|
|
[VoilePluginId(5)]
|
|
[NeedsEntitlement("{95EA2C4C-259F-4A26-A2A6-1F17ED2A397A}")]
|
|
internal class SqlServerDataStorageFactory : IVoileDataStorageFactory
|
|
{
|
|
private SqlConnectionStringBuilder scsb;
|
|
|
|
[Description("The host SQL Server is running on.")]
|
|
public string Host { get; set; }
|
|
|
|
[Description("The port SQL Server is listening on.")]
|
|
public ushort Port { get; set; }
|
|
|
|
[Description("The username to login with.")]
|
|
public string Username { get; set; }
|
|
|
|
[Description("The password to login with.")]
|
|
public string Password { get; set; }
|
|
|
|
[Description("The SQL Server database to connect with")]
|
|
public string Database { get; set; }
|
|
|
|
public IVoileDataStorage CreateDataStorage()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|