/// <summary> /// Copies all non-EF core values. /// </summary> /// <param name="customMeter">The object to be copied.</param> public void Copy(CustomMeter customMeter) { this.MeterName = customMeter.MeterName; this.DisplayName = customMeter.DisplayName; this.UnitOfMeasure = customMeter.UnitOfMeasure; this.PricePerUnit = customMeter.PricePerUnit; }
/// <summary> /// Copies all non-EF core values. /// </summary> /// <param name="customMeter">The object to be copied.</param> public void Copy(CustomMeter customMeter) { this.MeterName = customMeter.MeterName; this.OfferName = customMeter.OfferName; this.TelemetryDataConnectorName = customMeter.TelemetryDataConnectorName; this.TelemetryQuery = customMeter.TelemetryQuery; }