Пример #1
0
 public int Update(ProjectNameEntity t, string[] properties = null)
 {
     using (BrightourDbContext db = new BrightourDbContext())
     {
         return(db.Update(t, properties));
     }
 }
Пример #2
0
        public ProjectNameModel GetProjectNameById(int id)
        {
            ProjectNameEntity projectNameEntity = _dal.Query(id);

            if (projectNameEntity == null)
            {
                return(null);
            }
            return(Mapper.Map <ProjectNameEntity, ProjectNameModel>(projectNameEntity));
        }
Пример #3
0
 public int Delete(ProjectNameEntity t)
 {
     throw new NotImplementedException();
 }
Пример #4
0
 public int Insert(ProjectNameEntity t)
 {
     throw new NotImplementedException();
 }