Simple Client Model for Device
Esempio n. 1
0
 /// <summary>
 /// Copies the base properties from a source Device object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Device source )
 {
     this.Id = source.Id;
     this.Description = source.Description;
     this.DeviceTypeValueId = source.DeviceTypeValueId;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IPAddress = source.IPAddress;
     this.LocationId = source.LocationId;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.PrinterDeviceId = source.PrinterDeviceId;
     this.PrintFrom = source.PrintFrom;
     this.PrintToOverride = source.PrintToOverride;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
Esempio n. 2
0
 /// <summary>
 /// Copies the base properties from a source Device object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Device source )
 {
     this.Id = source.Id;
     this.Description = source.Description;
     this.DeviceTypeValueId = source.DeviceTypeValueId;
     this.IPAddress = source.IPAddress;
     this.LocationId = source.LocationId;
     this.Name = source.Name;
     this.PrinterDeviceId = source.PrinterDeviceId;
     this.PrintFrom = source.PrintFrom;
     this.PrintToOverride = source.PrintToOverride;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }