Esempio n. 1
0
 public bool PhysicalDelete(int[] eIds, int iCode)
 {
     if (iCode == 0)
     {
         return(dbContext.PhysicalDeleteByCondition(c => eIds.Contains(c.ID)));
     }
     else
     {
         var service = new DbHelperEfSql <td_Service_2>();
         return(service.PhysicalDeleteByCondition(c => eIds.Contains(c.ID)));
     }
 }
Esempio n. 2
0
        public bool PhysicalDeleteByCondition(Guid id)
        {
            var szServices = new DbHelperEfSql <tbOrganization>();

            return(szServices.PhysicalDeleteByCondition(c => c.ID == id));
        }
Esempio n. 3
0
        public bool PhysicalDeleteByCondition(string[] ids)
        {
            var szServices = new DbHelperEfSql <tbOrganization>();

            return(szServices.PhysicalDeleteByCondition(c => ids.Contains(c.ID.ToString())));
        }
Esempio n. 4
0
        public bool PhyDelete(Guid id, int pid, int tableType)
        {
            var szServices = new DbHelperEfSql <Attachments>();

            return(szServices.PhysicalDeleteByCondition(c => c.AttachmentID == id && c.ParentID == pid && c.TableType == tableType));
        }
Esempio n. 5
0
        public bool PhyDelete(Guid id)
        {
            var szServices = new DbHelperEfSql <Attachments>();

            return(szServices.PhysicalDeleteByCondition(c => c.AttachmentID == id));
        }
Esempio n. 6
0
        public bool PhysicalDeleteByUserIDs(Guid id)
        {
            var szServices = new DbHelperEfSql <AuthNodeButton>();

            return(szServices.PhysicalDeleteByCondition(c => c.UserID == id));
        }
Esempio n. 7
0
        public bool PhysicalDeleteByUserIDs(string[] ids)
        {
            var szServices = new DbHelperEfSql <AuthNodeButton>();

            return(szServices.PhysicalDeleteByCondition(c => ids.Contains(c.UserID.ToString())));
        }
Esempio n. 8
0
        /// <summary>
        /// 1
        /// </summary>
        /// <param name="eIds"></param>
        /// <returns></returns>
        public bool PhysicalDelete1(int[] eIds)
        {
            var service = new DbHelperEfSql <td_Network_1>();

            return(service.PhysicalDeleteByCondition(c => eIds.Contains(c.ID)));
        }
Esempio n. 9
0
        public bool PhysicalDeleteByCondition(string[] ids)
        {
            var szServices = new DbHelperEfSql <Nodes>();

            return(szServices.PhysicalDeleteByCondition(c => ids.Contains(c.NodeId.ToString())));
        }
Esempio n. 10
0
        public bool PhysicalDeleteByCondition(Guid id)
        {
            var szServices = new DbHelperEfSql <Depts>();

            return(szServices.PhysicalDeleteByCondition(c => c.DeptID == id));
        }