Exemple #1
0
        public virtual BOBusinessEntity MapEFToBO(
            BusinessEntity ef)
        {
            var bo = new BOBusinessEntity();

            bo.SetProperties(
                ef.BusinessEntityID,
                ef.ModifiedDate,
                ef.Rowguid);
            return(bo);
        }
Exemple #2
0
        public virtual BOBusinessEntity MapModelToBO(
            int businessEntityID,
            ApiBusinessEntityRequestModel model
            )
        {
            BOBusinessEntity boBusinessEntity = new BOBusinessEntity();

            boBusinessEntity.SetProperties(
                businessEntityID,
                model.ModifiedDate,
                model.Rowguid);
            return(boBusinessEntity);
        }