MSSQLAnalyzer.cs :  » Persistence-Frameworks » NEO » SQLToNeo » Model » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » Persistence Frameworks » NEO 
NEO » SQLToNeo » Model » MSSQLAnalyzer.cs
/* $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
 *
 * 
 */
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.