/// <summary> /// Constructor Con Parametros (Cadena de Conexion) /// </summary> public SQLite(string Path, string DBname, bool ActivarLog) { this.Path = Path; this.DBname = DBname; this.ActivarLog = ActivarLog; this.ConexionString = this.Path + this.DBname; this.Log = new classInspector(this.ActivarLog, this.Path); this.Mensaje = ""; this.Reader = null; this.Adapter = null; this.Cx = new SQLiteConnection(this.dataConexionString()); this.Cmd = new SQLiteCommand(); }
/// <summary> /// Constructor Sin Parametros /// </summary> public SQLite(bool ActivarLog) { this.Path = AppDomain.CurrentDomain.BaseDirectory; this.DBname = "Test.db"; this.ActivarLog = ActivarLog; this.ConexionString = this.Path + this.DBname; this.Log = new classInspector(this.ActivarLog, this.Path); this.Mensaje = ""; this.Reader = null; this.Adapter = null; this.Cx = new SQLiteConnection(this.dataConexionString()); this.Cmd = new SQLiteCommand(); }