public void initData(MD_View_GuideLine _value) { CurrentV2gl = _value; this.v2gid = _value.ID; this.GuideLineID = _value.TargetGuideLineID; this.buttonEdit1.EditValue = this.GuideLineID; RefreshParams(_value.RelationParam); DisplayOrder = _value.DisplayOrder; DisplayTitle = _value.DisplayTitle; _initFinished = true; }
public string CMD_DelView2GL(MD_View_GuideLine View2GL) { try { OraMetaDataFactroy _of = new OraMetaDataFactroy(); return(_of.CMD_DelView2GL(View2GL)); } catch (Exception ex) { throw new FaultException(ex.Message); } }
private void ChangeView2GuideLineID(MD_View_GuideLine _v2g, MD_QueryModel _qv, MetaDataServiceClient _mdc) { if (_v2g == null) { return; } _v2g.ViewID = _qv.QueryModelID; string _newid = GetNewID(_v2g.ID, "MD_VIEW2GUIDELINE", "ID", _mdc); try { IDTable.Add(_v2g.ID, _newid); } catch (Exception e) { throw e; } _v2g.ID = _newid; }
public static string CMD_DelView2GL(MD_View_GuideLine View2GL) { using (SqlConnection cn = SqlHelper.OpenConnection()) { try { SqlCommand _cmdDel = new SqlCommand(SQL_CMD_DelView2GL, cn); _cmdDel.Parameters.Add("@ID", View2GL.ID); _cmdDel.ExecuteNonQuery(); return(""); } catch (Exception e) { string _msg = string.Format("删除查询模型[{0}]的关联指标扩展信息时发生错误,错误信息:{1} ", View2GL.ViewID, e.Message); LogWriter.WriteSystemLog(_msg, "ERROR"); return(_msg); } } }
public async Task <string> CMD_DelView2GL(MD_View_GuideLine view2GL) { var ret = await this.mdService.CMD_DelView2GL(view2GL); return(ret); }
public string CMD_DelView2GL(MD_View_GuideLine View2GL) { return(MetaDataFactroy.CMD_DelView2GL(View2GL)); }
public ViewGuideLineManager(MD_View_GuideLine gldefine) { InitializeComponent(); View2GLDefine = gldefine; InitData(); }