コード例 #1
0
ファイル: MainForm.cs プロジェクト: caideyuan/ObsidianToolkit
        private void CreateAutoCode(DataTable dt)
        {
            AutoCoder ac = new AutoCoder(ao, dt);

            this.kryRTbxModel.Text = ac.CreateModelCode();  //1.Model
            this.kryRTbxQuery.Text = ac.CreateQueryCode();  //1.Query
            this.kryRTbxPermit.Text = ac.CreatePermitCode();//1.Permit

            this.kryRTbxDAL.Text = ac.CreateDALCode();      //2.DAL
            this.kryRTbxBLL.Text = ac.CreateBLLCode();      //2.BLL

            this.kryRTbxHtml.Text = ac.CreateASPXCode();    //3.ASPX
            this.kryRTbxJs.Text = ac.CreateJSCode();        //3.JS

            this.kryRTbxSDK.Text = ac.CreateSDKCode();      //4.SDK
            this.kryRTbxCtrl.Text = ac.CreateCtrlCode();    //4.Ctrl
            this.kryRTbxView.Text = ac.CreateViewCode();    //4.View

            this.kryRTbxSql.Text = ac.CreateSQLCode();          //5.SQL
            this.kryRTbxDescri.Text = ac.CreateDescription();   //6.Descri
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: caideyuan/ObsidianToolkit
        private void CreateAutoCode(DataTable dt)
        {
            AutoCoder ac = new AutoCoder(ao, dt);

            this.kryRTbxModel.Text  = ac.CreateModelCode();   //1.Model
            this.kryRTbxQuery.Text  = ac.CreateQueryCode();   //1.Query
            this.kryRTbxPermit.Text = ac.CreatePermitCode();  //1.Permit

            this.kryRTbxDAL.Text = ac.CreateDALCode();        //2.DAL
            this.kryRTbxBLL.Text = ac.CreateBLLCode();        //2.BLL

            this.kryRTbxHtml.Text = ac.CreateASPXCode();      //3.ASPX
            this.kryRTbxJs.Text   = ac.CreateJSCode();        //3.JS

            this.kryRTbxSDK.Text  = ac.CreateSDKCode();       //4.SDK
            this.kryRTbxCtrl.Text = ac.CreateCtrlCode();      //4.Ctrl
            this.kryRTbxView.Text = ac.CreateViewCode();      //4.View

            this.kryRTbxSql.Text    = ac.CreateSQLCode();     //5.SQL
            this.kryRTbxDescri.Text = ac.CreateDescription(); //6.Descri
        }