public static SpecProcessAssignOptionModel ToHydratedModel(this SpecProcessAssignOption anOptionEntity) { var result = anOptionEntity.ToModel(); result.SpecChoice = anOptionEntity.SpecChoice.ToHydratedModel(); return(result); }
//To Model(s) public static SpecProcessAssignOptionModel ToModel(this SpecProcessAssignOption anOptionEntity) { return(new SpecProcessAssignOptionModel() { SpecId = anOptionEntity.SpecId, SpecRevId = anOptionEntity.SpecRevId, SpecAssignId = anOptionEntity.SpecAssignId, SubLevelSeqId = anOptionEntity.SubLevelSeqId, ChoiceSeqId = anOptionEntity.ChoiceSeqId }); }