Ejemplo n.º 1
0
        /// <summary>
        /// 创建生成
        /// </summary>
        /// <param name="conModel"></param>
        /// <param name="tableName"></param>
        void lp_newcontentForm(WEF.ModelGenerator.Model.Connection conModel)
        {
            ContentForm s = new ContentForm();

            s.Text            = "(" + conModel.Database + ")" + conModel.TableName;
            s.TableName       = conModel.TableName;
            s.DatabaseName    = conModel.Database;
            s.IsView          = conModel.IsView;
            s.ConnectionModel = conModel;
            s.Show(dpleft);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 创建生成
        /// </summary>
        /// <param name="conModel"></param>
        /// <param name="tableName"></param>
        void lp_newcontentForm(WEF.ModelGenerator.Model.Connection conModel, string tableName, string databaseName, bool isView)
        {
            ContentForm s = new ContentForm();

            s.Text            = "(" + databaseName + ")" + tableName;
            s.TableName       = tableName;
            s.DatabaseName    = databaseName;
            s.IsView          = isView;
            s.ConnectionModel = conModel;
            s.Show(dpleft);
        }