//\"Id\", \"CatchEffortId\", \"TaxaSystemId\", \"TaxaId\", \"LengthStandard\", \"LengthFork\", \"LengthTotal\", \"Weight\", \"AdClipped\", \"CWT\", \"Description\" public Fish Build(DbDataReader reader) { Fish tmp = new Fish(DbReaderUtils.GetGuid(reader, 0), new CompoundIdentity(Db.DataStoreIdentity, DbReaderUtils.GetGuid(reader, 1)), new CompoundIdentity(DbReaderUtils.GetGuid(reader, 2), DbReaderUtils.GetGuid(reader, 3)), DbReaderUtils.GetSingle(reader, 4), DbReaderUtils.GetSingle(reader, 5), DbReaderUtils.GetSingle(reader, 6), DbReaderUtils.GetSingle(reader, 7), DbReaderUtils.GetNullableBoolean(reader, 8), DbReaderUtils.GetNullableBoolean(reader, 9), DbReaderUtils.GetString(reader, 10)); if (!seen.Contains(tmp.CatchEffortId)) { seen.Add(tmp.CatchEffortId); CatchEffort e = this.helperBuilder.Get(tmp.CatchEffortId); if (e != null) { got.Add(tmp.CatchEffortId); } } if (!got.Contains(tmp.CatchEffortId)) { return(null); } return(tmp); }