示例#1
0
        public static void Run(TableDataFrame dataFrame)
        {
            var win = new GenerateSqlForm();

            win.Initialize(dataFrame);
            win.ShowDialogEx();
        }
示例#2
0
        public static void Run(AppObject[] objs)
        {
            var win = new GenerateSqlForm();

            win.Initialize(objs);
            win.ShowDialogEx();
        }
示例#3
0
        private void CallGenerateSql()
        {
            var  appobj  = SelectedAppObject;
            bool enabled = appobj != null && appobj.GetSqlGenerators().Count > 0;

            if (enabled)
            {
                GenerateSqlForm.Run(GetSelectedObjects().ToArray());
            }
        }
示例#4
0
 public void GenerateSql(object[] objs)
 {
     GenerateSqlForm.Run(AppObject.ToArray(objs));
 }
示例#5
0
 public void GenerateSql()
 {
     GenerateSqlForm.Run(m_frame);
 }