protected override void Init() { if (MetadataObject.KPI != null) { this.KPI = KPI.CreateFromMetadata(this, MetadataObject.KPI); } }
public static KPI CreateNew() { var tomKpi = new TOM.KPI(); var obj = new KPI(tomKpi); obj.Init(); return(obj); }
public KPI AddKPI() { var kpi = new TOM.KPI() { }; KPI = KPI.CreateFromMetadata(this, kpi); return(KPI); }
public KPI AddKPI() { if (KPI == null) { KPI = KPI.CreateNew(); } return(KPI); }
public static KPI CreateFromMetadata(Measure parent, TOM.KPI metadataObject) { var obj = new KPI(metadataObject); parent.MetadataObject.KPI = metadataObject; obj.Init(); return(obj); }
public KPI AddKPI() { Handler.BeginUpdate("Add KPI"); if (KPI == null) { KPI = KPI.CreateNew(); } Handler.EndUpdate(); return(KPI); }
protected override void Init() { if (MetadataObject.KPI != null) { this.KPI = KPI.CreateFromMetadata(this, MetadataObject.KPI); } if (!string.IsNullOrEmpty(ErrorMessage)) { Table.AddError(this); } }
internal KPIMeasure(KPI kpi, KPIMeasureType type) { Kpi = kpi; Type = type; }
internal override void RemoveReferences() { KPIBackup = KPI; base.RemoveReferences(); }
public KPI AddKPI() { KPI = KPI.CreateNew(); return(KPI); }