
using Microsoft.VisualBasic.CompilerServices;
using SE0085.dBc.My;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using T2_SVR;

namespace SE0085.dBc
{
  public class clsDBC
  {
    private string _T2Conn;

    public string Revision
    {
      [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] get
      {
        return "Version; " + Conversions.ToString(MyProject.Application.Info.Version.Major) + "." + Conversions.ToString(MyProject.Application.Info.Version.Minor) + "." + Conversions.ToString((int) MyProject.Application.Info.Version.MajorRevision) + "." + Conversions.ToString((int) MyProject.Application.Info.Version.MinorRevision);
      }
    }

    public string Author
    {
      get
      {
        return "Terry Taylor";
      }
    }

    public object ConnectionString
    {
      get
      {
        return (object) this._T2Conn;
      }
    }

    [DebuggerNonUserCode]
    public clsDBC()
    {
    }

    public void GetServer(object ConnectionName)
    {
      this._T2Conn = new T2ServerManager(Conversions.ToString(ConnectionName)).dBConnectionString;
    }
  }
}
