コード例 #1
0
 public ComponentTypeDisplay MapToBLLDisplay(DALComponentTypeFull dalComponentType)
 {
     return(new ComponentTypeDisplay
     {
         Id = dalComponentType.Id,
         ComponentTypeName = dalComponentType.ComponentTypeName,
         ComponentCount = dalComponentType.Components !.Count
     });
コード例 #2
0
 public ComponentTypeFull MapToBLLFull(DALComponentTypeFull dalComponentType)
 {
     return(new ComponentTypeFull
     {
         Id = dalComponentType.Id,
         ComponentTypeName = dalComponentType.ComponentTypeName,
         Components = dalComponentType.Components,
         ComponentTypeSpecifications = dalComponentType.ComponentTypeSpecifications,
     });
 }