/// <summary> /// Converts this instance of <see cref="Organizacion"/> to an instance of <see cref="ORGANIZACION"/>. /// </summary> /// <param name="dto"><see cref="Organizacion"/> to convert.</param> public static ORGANIZACION ToTable(this Organizacion dto) { if (dto == null) { return(null); } var entity = new ORGANIZACION(); entity.Id = dto.Id; entity.Descripcion = dto.Descripcion; dto.OnEntity(entity); return(entity); }