Exemplo n.º 1
0
        public static BO.Difficulte ToDifficulteBo(this EntityFramework.Difficulte bo)
        {
            if (bo == null)
            {
                return(null);
            }

            return(new BO.Difficulte
            {
                Id = bo.Id,
                Libelle = bo.Libelle
            });
        }
Exemplo n.º 2
0
        public static BO.Difficulte ToDataEntity(this EntityFramework.Difficulte model)
        {
            if (model == null)
            {
                return(null);
            }

            return(new BO.Difficulte
            {
                Id = model.Id,
                Libelle = model.Libelle
            });
        }
Exemplo n.º 3
0
        public static BO.Difficulte ToBo(this EntityFramework.Difficulte bo, bool withJoin = false)
        {
            if (bo == null)
            {
                return(null);
            }

            return(new BO.Difficulte
            {
                Id = bo.Id,
                Libelle = bo.Libelle
            });
        }