예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <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;
 }