/// <summary> /// Copies the base properties from a source Metric object /// </summary> /// <param name="source">The source.</param> public void CopyPropertiesFrom( Metric source ) { this.Id = source.Id; this.AdminPersonAliasId = source.AdminPersonAliasId; this.DataViewId = source.DataViewId; this.Description = source.Description; this.EntityTypeId = source.EntityTypeId; this.IconCssClass = source.IconCssClass; this.IsCumulative = source.IsCumulative; this.IsSystem = source.IsSystem; this.LastRunDateTime = source.LastRunDateTime; this.MetricChampionPersonAliasId = source.MetricChampionPersonAliasId; this.ScheduleId = source.ScheduleId; this.SourceSql = source.SourceSql; this.SourceValueTypeId = source.SourceValueTypeId; this.Subtitle = source.Subtitle; this.Title = source.Title; this.XAxisLabel = source.XAxisLabel; this.YAxisLabel = source.YAxisLabel; this.Guid = source.Guid; this.ForeignId = source.ForeignId; }
/// <summary> /// Copies the base properties from a source Metric object /// </summary> /// <param name="source">The source.</param> public void CopyPropertiesFrom( Metric source ) { this.Id = source.Id; this.AdminPersonAliasId = source.AdminPersonAliasId; this.DataViewId = source.DataViewId; this.Description = source.Description; this.ForeignGuid = source.ForeignGuid; this.ForeignKey = source.ForeignKey; this.IconCssClass = source.IconCssClass; this.IsCumulative = source.IsCumulative; this.IsSystem = source.IsSystem; this.LastRunDateTime = source.LastRunDateTime; this.MetricChampionPersonAliasId = source.MetricChampionPersonAliasId; this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated; this.NumericDataType = source.NumericDataType; this.ScheduleId = source.ScheduleId; this.SourceSql = source.SourceSql; this.SourceValueTypeId = source.SourceValueTypeId; this.Subtitle = source.Subtitle; this.Title = source.Title; this.XAxisLabel = source.XAxisLabel; this.YAxisLabel = source.YAxisLabel; this.CreatedDateTime = source.CreatedDateTime; this.ModifiedDateTime = source.ModifiedDateTime; this.CreatedByPersonAliasId = source.CreatedByPersonAliasId; this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId; this.Guid = source.Guid; this.ForeignId = source.ForeignId; }