Open
Description
It is possible to add DbDataAdapter for typed CRUD operations with POCO with methods:
class DbDataAdapter<T> {
T LoadByKey(params object[] key);
List<T> Load(QConditionNode condition); // maybe this method should be protected ?..
void Insert(T model);
void Update(T model);
void Delete(T model);
void DeleteByKey(params object[] key);
}
- async methods
This implementation may effectively reuse DbCommand instances and perform POCO-mapping very fast by caching getters/setters.