public BundleDbRecord LoadRecord(EntityDbContext dc, String entityId) { var entityType = GetEntityType(dc); var record = dc.Find(entityType, entityId) as BundleDbRecord; record.LoadEntity(dc, EntityName); return(record); }