示例#1
0
        public void Update(int id, DomainEntityProduct domainEntity)
        {
            DbEntityProduct dbEntity = DbEntityProduct.DomainEntityToDbEntity(domainEntity);

            DaoProduct.Update(id, dbEntity);
        }
示例#2
0
        public void Create(DomainEntityProduct domainEntity)
        {
            DbEntityProduct dbEntity = DbEntityProduct.DomainEntityToDbEntity(domainEntity);

            DaoProduct.Create(dbEntity);
        }