Esempio n. 1
0
        /// <summary>
        /// Agrega codigo a :
        /// listViewCodeGenerated.GeneratedStoredProcedureCodeList
        /// listViewCodeGenerated.GeneratedDACCodeList
        /// listViewCodeGenerated.GeneratedBECodeList
        /// </summary>
        public void Generate()
        {
            switch (_SelectedObject)
            {
            case  CodeGeneratorCommon.SelectedObject.Tables:
            {
                _listViewCodeGenerated.NodeSP  = SPGenerator.GenCode(_Tables);
                _listViewCodeGenerated.NodeDAC = DACGenerator.GenCode(_Tables);
                _listViewCodeGenerated.NodeBE  = BEGenerator.GenCode(_Tables);
                break;
            }

            case CodeGeneratorCommon.SelectedObject.Views:
            {
                _listViewCodeGenerated.NodeSP  = SPGenerator.GenCode(_Views);
                _listViewCodeGenerated.NodeDAC = DACGenerator.GenCode(_Views);
                _listViewCodeGenerated.NodeBE  = BEGenerator.GenCode(_Views);
                break;
            }
            }



            _listViewCodeGenerated.LoadTtreeView();
        }
Esempio n. 2
0
 /// <summary>
 /// Agrega codigo solo a :
 /// listViewCodeGenerated.GeneratedBECodeList
 /// </summary>
 public void GenerateBEOnly()
 {
     _listViewCodeGenerated.NodeBE = BEGenerator.GenCode(_Tables);
     _listViewCodeGenerated.LoadTtreeView();
     _listViewCodeGenerated.ExpandBE();
 }