48 lines
1.4 KiB
C#
48 lines
1.4 KiB
C#
using Oracle.ManagedDataAccess.Client;
|
|
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.Oracle
|
|
{
|
|
[VoilePlugin]
|
|
[VoilePluginId(2)]
|
|
[NeedsEntitlement("{D48BDD34-7D5B-4543-BFA7-71A8C763A298}")]
|
|
internal class OracleDataStorageFactory : IVoileDataStorageFactory
|
|
{
|
|
public OracleDataStorageFactory()
|
|
{
|
|
}
|
|
|
|
public IVoileDataStorage CreateDataStorage()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
private OracleConnectionStringBuilder ocsb;
|
|
|
|
|
|
[Description("The IP-Address or Hostname the TNS-Listener in running on.")]
|
|
public string Host { get; set; }
|
|
|
|
[Description("The Port on which TNS-Listener is listening on.")]
|
|
public ushort Port { get; set; }
|
|
|
|
[Description("The Service Name registered with TNS-Listener. Usually, this is the name of your Pluggable Database. Note that this is not the SID!")]
|
|
public string Service { get; set; }
|
|
|
|
[Description("The username to login with")]
|
|
public string User { get; set; }
|
|
|
|
[Description("The password to login with")]
|
|
public string Password { get; set; }
|
|
}
|
|
}
|