public static AttributeValueId ParseIdString(string idString) { var formatter = new AttributeValueIdFlattenedDtoFormatter(); var idDto = formatter.Parse(idString); var rId = idDto.ToAttributeValueId(); return(rId); }
public static string ToIdString(AttributeValueId id) { var formatter = new AttributeValueIdFlattenedDtoFormatter(); var idDto = new AttributeValueIdFlattenedDto(id); var idStr = formatter.ToString(idDto); return(idStr); }