コード例 #1
0
        public virtual BOPipelineStatu MapEFToBO(
            PipelineStatu ef)
        {
            var bo = new BOPipelineStatu();

            bo.SetProperties(
                ef.Id,
                ef.Name);
            return(bo);
        }
コード例 #2
0
        public virtual BOPipelineStatu MapModelToBO(
            int id,
            ApiPipelineStatuRequestModel model
            )
        {
            BOPipelineStatu boPipelineStatu = new BOPipelineStatu();

            boPipelineStatu.SetProperties(
                id,
                model.Name);
            return(boPipelineStatu);
        }