private void setListaFunzioni(MysqlClass MysqlClassRiferimento) { _getClassModellator = new getClassModellator(MysqlClassRiferimento,"this._connection"); _getClassModellator = new getClassModellator(MysqlClassRiferimento, "this._connection"); _getListClassModellator = new getListClassModellator(MysqlClassRiferimento, "this._connection"); _insertClassModellator = new insertClassModellator(MysqlClassRiferimento, "this._connection"); _deleteClassModellator = new deleteClassModellator(MysqlClassRiferimento, "this._connection"); _updateClassModellator = new updateClassModellator(MysqlClassRiferimento, "this._connection"); _createTableModellator = new createTableModellator(MysqlClassRiferimento, "this._connection"); }
private void showGetClass() { getClassModellator tmp = new getClassModellator(); tmp.ClasseRiferimento = _mysqlClassModellator; // tmp.ListVariables = _mysqlClassModellator.getVariablesInWhereClausule() //.Add(new Variables("int", "idXXX")); tmp.NameConnection = "this._connection"; // tmp.ListVariables.Add(new Variables(_mysqlClassModellator.DriverUsed.ToString(), "connecction")); _view.labelDescrizione.Text = "Metod get Class"; _view.Content = tmp.getFunctionModelleted(); _view.ClassName.Text = _mysqlClassModellator.Name+"_getClass.cs"; _view.ShowDialog(); // MessageBox.Show(tmp.Body); }