예제 #1
0
 /// <summary>
 /// 删除实体
 /// </summary>
 /// <param name="entity">要删除实体的对象,我们一般只需给
 /// 该实体的Id字段赋值即可,其他字段不用赋值</param>
 /// <returns></returns>
 public bool DeleteEntity(T entity)
 {
     return(_baseDal.DeleteEntity(entity) > 0);
 }