public UpdateOrInsertResult UpdateOrInsert(T entity) { try { return(ObjectDAO.UpdateOrInsert(entity)); } finally { entity = default(T); } }
private ObjectBLO() { baseDao = ObjectDAO.Current; dao = ObjectDAO.Current; }
public int Delete(Condition condition) { return(ObjectDAO.Delete(condition)); }
public bool Delete(T entity) { return(ObjectDAO.Delete(entity)); }
public bool DeleteID(params object[] id) { return(ObjectDAO.DeleteByKeys(id)); }
public bool Update(T entity) { return(ObjectDAO.Update(entity)); }
public bool Insert(T entity) { return(ObjectDAO.Insert(entity)); }