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 static KPI CreateFromMetadata(Measure parent, TOM.KPI metadataObject) { var obj = new KPI(metadataObject); parent.MetadataObject.KPI = metadataObject; obj.Init(); return(obj); }