Beispiel #1
0
 public static EntityModel MapENTToMapperEntity(ENT_Entity entity)
 {
     return(new EntityModel()
     {
         ID_ENT = entity.ID_ENT,
         NAME_ENT = entity.NAME_ENT.Trim(),
         State = entity.State,
         VALID = entity.VALID
     });
 }
Beispiel #2
0
 public static EntityDetailModel MapENTToMapperEntityDetail(ENT_Entity entity)
 {
     return(new EntityDetailModel()
     {
         ID_ENT = entity.ID_ENT,
         NAME_ENT = entity.NAME_ENT.Trim(),
         State = entity.State,
         VALID = entity.VALID,
         STA_StateList = entity.STA_StateList,
         TRA_TranslationState = entity.TRA_TranslationState
     });
 }