コード例 #1
0
 public virtual NhlStatsSet.goaliestatsDataTable GetGoaliesEx() {
     this.Adapter.SelectCommand = this.CommandCollection[4];
     NhlStatsSet.goaliestatsDataTable dataTable = new NhlStatsSet.goaliestatsDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
コード例 #2
0
 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;
 }