public virtual NhlStatsSet.goaliestatsDataTable GetGoaliesEx() { this.Adapter.SelectCommand = this.CommandCollection[4]; NhlStatsSet.goaliestatsDataTable dataTable = new NhlStatsSet.goaliestatsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual NhlStatsSet.goaliestatsDataTable GetGoalies(global::System.Nullable<long> Season) { this.Adapter.SelectCommand = this.CommandCollection[3]; if ((Season.HasValue == true)) { this.Adapter.SelectCommand.Parameters[0].Value = ((long)(Season.Value)); } else { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } NhlStatsSet.goaliestatsDataTable dataTable = new NhlStatsSet.goaliestatsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }