public LabelTranslationDao EntityToDao(LabelTranslation entity) { LabelTranslationDao dao = new LabelTranslationDao { Id = entity.Id, RefLabelId = converter.EntityToDao(entity.RefLabelId), Language = entity.Language, TranslationValue = entity.TranslationValue }; return(dao); }
public LabelTranslation DaoToEntity(LabelTranslationDao dao) { LabelTranslation entity = new LabelTranslation { Id = dao.Id, RefLabelId = converter.DaoToEntity(dao.RefLabelId), Language = dao.Language, TranslationValue = dao.TranslationValue }; return(entity); }