/// <summary> /// Converts this instance of <see cref="serversyncstatusDto"/> to an instance of <see cref="serversyncstatus"/>. /// </summary> /// <param name="dto"><see cref="serversyncstatusDto"/> to convert.</param> public static serversyncstatus ToEntity(this serversyncstatusDto dto) { if (dto == null) { return(null); } var entity = new serversyncstatus(); entity.i_NodeId = dto.i_NodeId; entity.i_Enabled = dto.i_Enabled; dto.OnEntity(entity); return(entity); }