internal BingoDealer( DataRow range ) { DataTable ranges = range.Table; OpenSkieScheduler3.ScheduleDataSet schedule = ranges.DataSet as OpenSkieScheduler3.ScheduleDataSet; DataRow cardset_row = range.GetParentRow( CardsetRange.CardsetInfoRelationName ); DataRow dealer_row = range.GetParentRow( CardsetRange.DealerRelationName ); if( cardset_row["name"] != DBNull.Value && cardset_row["name"] != "" ) card_data = CardReader.GetCardReader( range ); else card_data = CardSQLReader.GetCardReader( range ); //BingoCardset bingo_cardset = null; DataRow cardset = range.GetParentRow( "cardset_has_cardset_range" ); DataRow dealerRow = range.GetParentRow( "cardset_range_has_dealer" ); RangeName = range[CardsetRange.NameColumn] as String; CardsetName = cardset[CardsetInfo.NameColumn] as String; DealerName = dealerRow[Dealer.NameColumn] as String; prize_level_id = range[PrizeLevelNames.PrimaryKey]; //pack = Convert.ToInt32( pack[PackTable.PrimaryKey] ); min_range = Convert.ToInt32( range["start"] ); max_range = Convert.ToInt32( range["end"] ); object tmp_base = range["base"]; if( tmp_base == DBNull.Value ) packs_db_base = 0; else packs_db_base = Convert.ToInt32( tmp_base ); //Name = range[CardsetRange.NameColumn].ToString(); if( dealerRow != null ) { card_skip = Convert.ToInt32( dealerRow["card_skip"] ); game_skip = Convert.ToInt32( dealerRow["page_skip"] ); row_skip = Convert.ToInt32( dealerRow["row_skip"] ); column_skip = Convert.ToInt32( dealerRow["column_skip"] ); } else Log.log( "cardset_range has no dealer... default dealer cardskip=" + card_skip + " gameskip=" + game_skip ); //bingo_cardset.range_base = Convert.ToInt32( range["base"] ); object tmp_offset = range["offset"]; if( tmp_offset == DBNull.Value ) card_offset = 0; else card_offset = Convert.ToInt32( tmp_offset ); real_min_range = min_range + packs_db_base; real_max_range = max_range + packs_db_base; last_dealt = real_min_range; group_wrap_games = false; //cardset = bingo_cardset; }