Beispiel #1
0
        public bool SaveData()
        {
            //保存新加表
            int _index = this.gridView1.FocusedRowHandle;

            if (_index >= 0)
            {
                using (MetaDataServiceClient _mdc = new MetaDataServiceClient())
                {
                    DB_TableMeta _tm = (DB_TableMeta)this.gridView1.GetRow(_index);
                    return(_mdc.SaveNewTable(_tm, _namespace));
                }
            }
            return(false);
        }