public DbEntity SingleOrDefaultDb(string typeName, long id) { return(SingleOrDefaultDb(QueryHelpers.GetDbEntityType(typeName), id)); }