/* $Id: MSSQLAnalyzer.cs,v 1.3 2004/11/24 13:57:05 larsbm Exp $
* Copyright (c) 2004 Engine EAR GmbH & Co. KG
* Developed by: Lars Behrmann, lb@engine.de
*/
using System;
using System.Data;
using SQLToNeo.PlugIn;
namespace SQLToNeo.Model{
/// <summary>
/// Zusammenfassung fr MSSQLAnalyzer.
/// </summary>
public class MSSQLAnalyzer :IAnalyzer
{
private string _catalog;
private string _ianalyzername;
private string _password;
private string _user;
private string _server;
private bool _authent;
#region Property get set (DataSet)DS
private DataSet _ds;
public DataSet DS
{
get { return this._ds; }
set { this._ds = value; }
}
#endregion
#region Property get set Msda
private MSSQLDetailAnalyzer _msda;
public MSSQLDetailAnalyzer Msda
{
get { return this._msda; }
set { this._msda = value; }
}
#endregion
public MSSQLAnalyzer()
{
}
#region IAnalyzer Member
public string IAnalyzerName
{
get
{
return this._ianalyzername;
}
set
{
this._ianalyzername = value;
}
}
public string Server
{
get
{
return this._server;
}
set
{
this._server = value;
}
}
public string Password
{
get
{
return this._password;
}
set
{
this._password = value;
}
}
public string User
{
get
{
return this._user;
}
set
{
this._user = value;
}
}
public bool NTAuthentication
{
get
{
return this._authent;
}
set
{
this._authent = value;
}
}
public string Catalog
{
get
{
return this._catalog;
}
set
{
this._catalog = value;
}
}
public System.Data.DataSet AnalyzeAndFill(System.Data.DataSet dataset)
{
DS = dataset;
Msda = new MSSQLDetailAnalyzer(this);
Msda.Fill();
return dataset;
}
#endregion
}
}
/*
* $Log: MSSQLAnalyzer.cs,v $
* Revision 1.3 2004/11/24 13:57:05 larsbm
* - new project SQLToNeoPlugIn
* - switched interfaces from mainsource into plug in
*
* Revision 1.2 2004/10/14 09:12:17 larsbm
* - Start to implement anaylzer details
* - Add tests for that
*
* Revision 1.1 2004/10/13 08:53:54 larsbm
* - Start to implement new anaylzer via bridge pattern
* - Adding a test for the new analyzer
*
*
*/
|