public bool Update(TUpdateForm form) { return(DaoHelper.UpdateSimpleEntity <TEntity, TQueryForm, TUpdateForm>(Mapper, form)); }
public TEntity QuerySingle(TQueryForm form) { return(DaoHelper.QuerySingle <TEntity, TQueryForm>(Mapper, form)); }
public bool Delete(TQueryForm form) { string tableName = typeof(TEntity).Name; return(DaoHelper.Delete <TQueryForm>(Mapper, tableName, form)); }
public List <TEntity> Query(TQueryForm form) { return(DaoHelper.Query <TEntity, TQueryForm>(Mapper, form, true)); }
public TEntity Add(TEntity entity) { return(DaoHelper.Add <TEntity>(Mapper, entity)); }
public int Count(TQueryForm form) { return(DaoHelper.GetCount <TQueryForm, TEntity>(Mapper, form)); }
public int Count(string statementName, TQueryForm form) { return(DaoHelper.GetCount <TQueryForm, TEntity>(Mapper, form, statementName, true)); }