private static DbRecords loadRecords(Type type, IDataReader reader) { DbRecordInfo info = DbAttributesManager.GetRecordInfo(type); Array records = DbGateway.LoadRecords(type, reader, info); return(new DbRecords(info, records)); }