public virtual DynamicDictionary GetAsDictionary(DbConnect con, TKey id) { DynamicDictionary item = CrudRepo.Get(con, id); if (CrudRepo.Errors.Count > 0) { Errors.AddRange(CrudRepo.Errors); return(null); } return(item); }
private DummyA SaveAndRetrieve(DummyA x) { repo.Save(x); return(repo.Get(x.Id)); }