Exemplo n.º 1
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "Files";
     tableMapping.ColumnMappings.Add("filename", "filename");
     tableMapping.ColumnMappings.Add("year", "year");
     tableMapping.ColumnMappings.Add("month", "month");
     tableMapping.ColumnMappings.Add("day", "day");
     tableMapping.ColumnMappings.Add("number", "number");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Files] WHERE (([filename] = @Original_filename) AND ((@IsNull_year = 1 AND [year] IS NULL) OR ([year] = @Original_year)) AND ((@IsNull_month = 1 AND [month] IS NULL) OR ([month] = @Original_month)) AND ((@IsNull_day = 1 AND [day] IS NULL) OR ([day] = @Original_day)) AND ((@IsNull_number = 1 AND [number] IS NULL) OR ([number] = @Original_number)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_year";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_year";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_month";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "month";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_month";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "month";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_day";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "day";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_day";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "day";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_number";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_number";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [Files] ([filename], [year], [month], [day], [number]) VALUES (@filen" +
         "ame, @year, @month, @day, @number)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@year";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "year";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@month";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "month";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@day";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "day";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@number";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "number";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [Files] SET [filename] = @filename, [year] = @year, [month] = @month, [day] = @day, [number] = @number WHERE (([filename] = @Original_filename) AND ((@IsNull_year = 1 AND [year] IS NULL) OR ([year] = @Original_year)) AND ((@IsNull_month = 1 AND [month] IS NULL) OR ([month] = @Original_month)) AND ((@IsNull_day = 1 AND [day] IS NULL) OR ([day] = @Original_day)) AND ((@IsNull_number = 1 AND [number] IS NULL) OR ([number] = @Original_number)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@year";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "year";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@month";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "month";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@day";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "day";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@number";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "number";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_year";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_year";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_month";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "month";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_month";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "month";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_day";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "day";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_day";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "day";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_number";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_number";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 2
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "bssidclientcount";
     tableMapping.ColumnMappings.Add("[bssid]", "[bssid]");
     tableMapping.ColumnMappings.Add("[count(bssid)]", "[count(bssid)]");
     this._adapter.TableMappings.Add(tableMapping);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "Dictionary";
     tableMapping.ColumnMappings.Add("ID", "ID");
     tableMapping.ColumnMappings.Add("Name", "Name");
     tableMapping.ColumnMappings.Add("Alphabet", "Alphabet");
     tableMapping.ColumnMappings.Add("Column", "Column");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [Dictionary] ([ID], [Name], [Alphabet], [Column]) VALUES (@ID, @Name," +
         " @Alphabet, @Column)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Alphabet";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Alphabet";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Column";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Column";
     this._adapter.InsertCommand.Parameters.Add(param);
 }
Exemplo n.º 4
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "playerstats";
     tableMapping.ColumnMappings.Add("PlayerName", "PlayerName");
     tableMapping.ColumnMappings.Add("Goals", "Goals");
     tableMapping.ColumnMappings.Add("Goals - ES", "Goals - ES");
     tableMapping.ColumnMappings.Add("Goals - PP", "Goals - PP");
     tableMapping.ColumnMappings.Add("Goals - SH", "Goals - SH");
     tableMapping.ColumnMappings.Add("Goals - PS", "Goals - PS");
     tableMapping.ColumnMappings.Add("Goals - EN", "Goals - EN");
     tableMapping.ColumnMappings.Add("Goals - OT", "Goals - OT");
     tableMapping.ColumnMappings.Add("Goals - Home", "Goals - Home");
     tableMapping.ColumnMappings.Add("Goals - Road", "Goals - Road");
     tableMapping.ColumnMappings.Add("Goals - First Of Game", "Goals - First Of Game");
     tableMapping.ColumnMappings.Add("Goals - Game Tying", "Goals - Game Tying");
     tableMapping.ColumnMappings.Add("Goals - Game Winning", "Goals - Game Winning");
     tableMapping.ColumnMappings.Add("Assists", "Assists");
     tableMapping.ColumnMappings.Add("Assists - ES", "Assists - ES");
     tableMapping.ColumnMappings.Add("Assists - PP", "Assists - PP");
     tableMapping.ColumnMappings.Add("Assists - SH", "Assists - SH");
     tableMapping.ColumnMappings.Add("Assists - OT", "Assists - OT");
     tableMapping.ColumnMappings.Add("Assists - Home", "Assists - Home");
     tableMapping.ColumnMappings.Add("Assists - Road", "Assists - Road");
     tableMapping.ColumnMappings.Add("Points", "Points");
     tableMapping.ColumnMappings.Add("Points - ES", "Points - ES");
     tableMapping.ColumnMappings.Add("Points - PP", "Points - PP");
     tableMapping.ColumnMappings.Add("Points - SH", "Points - SH");
     tableMapping.ColumnMappings.Add("Points - OT", "Points - OT");
     tableMapping.ColumnMappings.Add("Points - Home", "Points - Home");
     tableMapping.ColumnMappings.Add("Points - Road", "Points - Road");
     tableMapping.ColumnMappings.Add("Plus/Minus", "Plus/Minus");
     tableMapping.ColumnMappings.Add("Plus/Minus - Home", "Plus/Minus - Home");
     tableMapping.ColumnMappings.Add("Plus/Minus - Road", "Plus/Minus - Road");
     tableMapping.ColumnMappings.Add("Shots", "Shots");
     tableMapping.ColumnMappings.Add("Shots - PS", "Shots - PS");
     tableMapping.ColumnMappings.Add("Shooting %age", "Shooting %age");
     tableMapping.ColumnMappings.Add("FO", "FO");
     tableMapping.ColumnMappings.Add("FO Won", "FO Won");
     tableMapping.ColumnMappings.Add("FO Won - ES", "FO Won - ES");
     tableMapping.ColumnMappings.Add("FO Won - PP", "FO Won - PP");
     tableMapping.ColumnMappings.Add("FO Won - SH", "FO Won - SH");
     tableMapping.ColumnMappings.Add("FO Lost", "FO Lost");
     tableMapping.ColumnMappings.Add("FO Lost - ES", "FO Lost - ES");
     tableMapping.ColumnMappings.Add("FO Lost - PP", "FO Lost - PP");
     tableMapping.ColumnMappings.Add("FO Lost - SH", "FO Lost - SH");
     tableMapping.ColumnMappings.Add("FO %age", "FO %age");
     tableMapping.ColumnMappings.Add("FO Win %age", "FO Win %age");
     tableMapping.ColumnMappings.Add("GP", "GP");
     tableMapping.ColumnMappings.Add("GP - Home", "GP - Home");
     tableMapping.ColumnMappings.Add("GP - Road", "GP - Road");
     tableMapping.ColumnMappings.Add("Shifts", "Shifts");
     tableMapping.ColumnMappings.Add("Shifts Per Game", "Shifts Per Game");
     tableMapping.ColumnMappings.Add("Penalties", "Penalties");
     tableMapping.ColumnMappings.Add("PIM", "PIM");
     tableMapping.ColumnMappings.Add("TOI", "TOI");
     tableMapping.ColumnMappings.Add("TOI - ES", "TOI - ES");
     tableMapping.ColumnMappings.Add("TOI - PP", "TOI - PP");
     tableMapping.ColumnMappings.Add("TOI - SH", "TOI - SH");
     tableMapping.ColumnMappings.Add("TOI Per Game", "TOI Per Game");
     tableMapping.ColumnMappings.Add("TOI Per Game - ES", "TOI Per Game - ES");
     tableMapping.ColumnMappings.Add("TOI Per Game - PP", "TOI Per Game - PP");
     tableMapping.ColumnMappings.Add("TOI Per Game - SH", "TOI Per Game - SH");
     tableMapping.ColumnMappings.Add("Season_ID", "Season_ID");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [playerstats] ([Season_ID], [PlayerName], [Goals], [Goals - ES], [Goa" +
         "ls - PP], [Goals - SH], [Goals - PS], [Goals - EN], [Goals - OT], [Goals - Home]" +
         ", [Goals - Road], [Goals - First Of Game], [Goals - Game Tying], [Goals - Game W" +
         "inning], [Assists], [Assists - ES], [Assists - PP], [Assists - SH], [Assists - O" +
         "T], [Assists - Home], [Assists - Road], [Points], [Points - ES], [Points - PP], " +
         "[Points - SH], [Points - OT], [Points - Home], [Points - Road], [Plus/Minus], [P" +
         "lus/Minus - Home], [Plus/Minus - Road], [Shots], [Shots - PS], [Shooting %age], " +
         "[FO], [FO Won], [FO Won - ES], [FO Won - PP], [FO Won - SH], [FO Lost], [FO Lost" +
         " - ES], [FO Lost - PP], [FO Lost - SH], [FO %age], [FO Win %age], [GP], [GP - Ho" +
         "me], [GP - Road], [Shifts], [Shifts Per Game], [Penalties], [PIM], [TOI], [TOI -" +
         " ES], [TOI - PP], [TOI - SH], [TOI Per Game], [TOI Per Game - ES], [TOI Per Game" +
         " - PP], [TOI Per Game - SH]) VALUES (@Season_ID, @PlayerName, @Goals, @param1, @" +
         "param4, @param7, @param10, @param13, @param16, @param19, @param22, @param25, @pa" +
         "ram28, @param31, @Assists, @param34, @param37, @param40, @param43, @param46, @pa" +
         "ram49, @Points, @param52, @param55, @param58, @param61, @param64, @param67, @par" +
         "am70, @param73, @param76, @Shots, @param79, @param82, @FO, @FO_Won, @param85, @p" +
         "aram88, @param91, @FO_Lost, @param94, @param97, @param100, @param103, @param106," +
         " @GP, @param109, @param112, @Shifts, @Shifts_Per_Game, @Penalties, @PIM, @TOI, @" +
         "param115, @param118, @param121, @TOI_Per_Game, @param124, @param127, @param130)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Season_ID";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "Season_ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@PlayerName";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "PlayerName";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Goals";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param1";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param4";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param7";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param10";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param13";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - EN";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param16";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - OT";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param19";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param22";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param25";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - First Of Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param28";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Game Tying";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param31";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Game Winning";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Assists";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param34";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param37";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param40";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param43";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists - OT";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param46";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param49";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Points";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param52";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param55";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param58";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param61";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - OT";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param64";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param67";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param70";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Plus/Minus";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param73";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Plus/Minus - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param76";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Plus/Minus - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Shots";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shots";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param79";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shots - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param82";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shooting %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@FO";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@FO_Won";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Won";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param85";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Won - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param88";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Won - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param91";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Won - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@FO_Lost";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Lost";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param94";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Lost - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param97";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Lost - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param100";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Lost - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param103";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param106";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Win %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GP";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param109";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GP - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param112";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GP - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Shifts";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shifts";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Shifts_Per_Game";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shifts Per Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Penalties";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Penalties";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@PIM";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PIM";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TOI";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param115";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param118";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param121";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TOI_Per_Game";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI Per Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param124";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI Per Game - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param127";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI Per Game - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param130";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI Per Game - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "Collection";
     tableMapping.ColumnMappings.Add("ID", "ID");
     tableMapping.ColumnMappings.Add("Name", "Name");
     tableMapping.ColumnMappings.Add("DateCreated", "DateCreated");
     tableMapping.ColumnMappings.Add("LastModified", "LastModified");
     tableMapping.ColumnMappings.Add("CanEdit", "CanEdit");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [Collection] WHERE (([ID] = @Original_ID) AND ([Name] = @Original_Nam" +
         "e) AND ([DateCreated] = @Original_DateCreated) AND ([LastModified] = @Original_L" +
         "astModified) AND ([CanEdit] = @Original_CanEdit))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CanEdit";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "CanEdit";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [Collection] ([ID], [Name], [DateCreated], [LastModified], [CanEdit])" +
         " VALUES (@ID, @Name, @DateCreated, @LastModified, @CanEdit)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CanEdit";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "CanEdit";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [Collection] SET [ID] = @ID, [Name] = @Name, [DateCreated] = @DateCreated, [LastModified] = @LastModified, [CanEdit] = @CanEdit WHERE (([ID] = @Original_ID) AND ([Name] = @Original_Name) AND ([DateCreated] = @Original_DateCreated) AND ([LastModified] = @Original_LastModified) AND ([CanEdit] = @Original_CanEdit))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CanEdit";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "CanEdit";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CanEdit";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "CanEdit";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "RecentPlaylist";
     tableMapping.ColumnMappings.Add("ID", "ID");
     tableMapping.ColumnMappings.Add("Name", "Name");
     tableMapping.ColumnMappings.Add("CardIDs", "CardIDs");
     tableMapping.ColumnMappings.Add("Index", "Index");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [RecentPlaylist] WHERE (([ID] = @Original_ID) AND ([Name] = @Original" +
         "_Name) AND ([CardIDs] = @Original_CardIDs) AND ([Index] = @Original_Index))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardIDs";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "CardIDs";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [RecentPlaylist] ([ID], [Name], [CardIDs], [Index]) VALUES (@ID, @Nam" +
         "e, @CardIDs, @Index)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardIDs";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "CardIDs";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = "UPDATE [RecentPlaylist] SET [ID] = @ID, [Name] = @Name, [CardIDs] = @CardIDs, [In" +
         "dex] = @Index WHERE (([ID] = @Original_ID) AND ([Name] = @Original_Name) AND ([C" +
         "ardIDs] = @Original_CardIDs) AND ([Index] = @Original_Index))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardIDs";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "CardIDs";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardIDs";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "CardIDs";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 7
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "discs";
     tableMapping.ColumnMappings.Add("disc_id", "disc_id");
     tableMapping.ColumnMappings.Add("page_number", "page_number");
     tableMapping.ColumnMappings.Add("location_id", "location_id");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [discs] WHERE (([disc_id] = @Original_disc_id) AND ((@IsNull_page_num" +
         "ber = 1 AND [page_number] IS NULL) OR ([page_number] = @Original_page_number)) A" +
         "ND ([location_id] = @Original_location_id))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_page_number";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "page_number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_page_number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "page_number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [discs] ([disc_id], [page_number], [location_id]) VALUES (@disc_id, @" +
         "page_number, @location_id)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@page_number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "page_number";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [discs] SET [disc_id] = @disc_id, [page_number] = @page_number, [location_id] = @location_id WHERE (([disc_id] = @Original_disc_id) AND ((@IsNull_page_number = 1 AND [page_number] IS NULL) OR ([page_number] = @Original_page_number)) AND ([location_id] = @Original_location_id))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@page_number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "page_number";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_page_number";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "page_number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_page_number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "page_number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "Card";
     tableMapping.ColumnMappings.Add("ID", "ID");
     tableMapping.ColumnMappings.Add("Question", "Question");
     tableMapping.ColumnMappings.Add("Answer", "Answer");
     tableMapping.ColumnMappings.Add("Notes", "Notes");
     tableMapping.ColumnMappings.Add("Count", "Count");
     tableMapping.ColumnMappings.Add("DateCreated", "DateCreated");
     tableMapping.ColumnMappings.Add("LastModified", "LastModified");
     tableMapping.ColumnMappings.Add("MarkForReview", "MarkForReview");
     tableMapping.ColumnMappings.Add("Difficulty", "Difficulty");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Card] WHERE (([ID] = @Original_ID) AND ([Question] = @Original_Question) AND ([Answer] = @Original_Answer) AND ([Notes] = @Original_Notes) AND ([Count] = @Original_Count) AND ([DateCreated] = @Original_DateCreated) AND ([LastModified] = @Original_LastModified) AND ((@IsNull_MarkForReview = 1 AND [MarkForReview] IS NULL) OR ([MarkForReview] = @Original_MarkForReview)) AND ((@IsNull_Difficulty = 1 AND [Difficulty] IS NULL) OR ([Difficulty] = @Original_Difficulty)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Question";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Question";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Answer";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Answer";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Notes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Notes";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Count";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Count";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_MarkForReview";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "MarkForReview";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_MarkForReview";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "MarkForReview";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Difficulty";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Difficulty";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Difficulty";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Difficulty";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [Card] ([ID], [Question], [Answer], [Notes], [Count], [DateCreated], " +
         "[LastModified], [MarkForReview], [Difficulty]) VALUES (@ID, @Question, @Answer, " +
         "@Notes, @Count, @DateCreated, @LastModified, @MarkForReview, @Difficulty)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Question";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Question";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Answer";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Answer";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Notes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Notes";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Count";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Count";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@MarkForReview";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "MarkForReview";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Difficulty";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Difficulty";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [Card] SET [ID] = @ID, [Question] = @Question, [Answer] = @Answer, [Notes] = @Notes, [Count] = @Count, [DateCreated] = @DateCreated, [LastModified] = @LastModified, [MarkForReview] = @MarkForReview, [Difficulty] = @Difficulty WHERE (([ID] = @Original_ID) AND ([Question] = @Original_Question) AND ([Answer] = @Original_Answer) AND ([Notes] = @Original_Notes) AND ([Count] = @Original_Count) AND ([DateCreated] = @Original_DateCreated) AND ([LastModified] = @Original_LastModified) AND ((@IsNull_MarkForReview = 1 AND [MarkForReview] IS NULL) OR ([MarkForReview] = @Original_MarkForReview)) AND ((@IsNull_Difficulty = 1 AND [Difficulty] IS NULL) OR ([Difficulty] = @Original_Difficulty)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Question";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Question";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Answer";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Answer";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Notes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Notes";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Count";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Count";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@MarkForReview";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "MarkForReview";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Difficulty";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Difficulty";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Question";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Question";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Answer";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Answer";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Notes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Notes";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Count";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Count";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_MarkForReview";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "MarkForReview";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_MarkForReview";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "MarkForReview";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Difficulty";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Difficulty";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Difficulty";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Difficulty";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 9
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "teams";
     tableMapping.ColumnMappings.Add("TeamID", "TeamID");
     tableMapping.ColumnMappings.Add("TeamName", "TeamName");
     tableMapping.ColumnMappings.Add("TeamCity", "TeamCity");
     tableMapping.ColumnMappings.Add("Conference", "Conference");
     tableMapping.ColumnMappings.Add("Division", "Division");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [teams] ([TeamID], [TeamName], [TeamCity], [Conference], [Division]) " +
         "VALUES (@TeamID, @TeamName, @TeamCity, @Conference, @Division)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TeamID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "TeamID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TeamName";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "TeamName";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TeamCity";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "TeamCity";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Conference";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Conference";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Division";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Division";
     this._adapter.InsertCommand.Parameters.Add(param);
 }
Exemplo n.º 10
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "disc_contents";
     tableMapping.ColumnMappings.Add("disc_id", "disc_id");
     tableMapping.ColumnMappings.Add("title_id", "title_id");
     tableMapping.ColumnMappings.Add("season", "season");
     tableMapping.ColumnMappings.Add("range", "range");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [disc_contents] WHERE (([disc_id] = @Original_disc_id) AND ([title_id" +
         "] = @Original_title_id) AND ((@IsNull_season = 1 AND [season] IS NULL) OR ([seas" +
         "on] = @Original_season)) AND ([range] = @Original_range))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_season";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "season";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_season";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "season";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_range";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "range";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [disc_contents] ([disc_id], [title_id], [season], [range]) VALUES (@d" +
         "isc_id, @title_id, @season, @range)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@season";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "season";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@range";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "range";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [disc_contents] SET [disc_id] = @disc_id, [title_id] = @title_id, [season] = @season, [range] = @range WHERE (([disc_id] = @Original_disc_id) AND ([title_id] = @Original_title_id) AND ((@IsNull_season = 1 AND [season] IS NULL) OR ([season] = @Original_season)) AND ([range] = @Original_range))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@season";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "season";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@range";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "range";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_disc_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "disc_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_season";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "season";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_season";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "season";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_range";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "range";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 11
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "schedule";
     tableMapping.ColumnMappings.Add("Info", "Info");
     tableMapping.ColumnMappings.Add("AwayTeam", "AwayTeam");
     tableMapping.ColumnMappings.Add("HomeTeam", "HomeTeam");
     tableMapping.ColumnMappings.Add("Date", "Date");
     tableMapping.ColumnMappings.Add("TBD", "TBD");
     tableMapping.ColumnMappings.Add("Season_ID", "Season_ID");
     tableMapping.ColumnMappings.Add("Winner", "Winner");
     tableMapping.ColumnMappings.Add("Loser", "Loser");
     tableMapping.ColumnMappings.Add("WinnerScore", "WinnerScore");
     tableMapping.ColumnMappings.Add("LoserScore", "LoserScore");
     tableMapping.ColumnMappings.Add("EndType", "EndType");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = @"INSERT INTO [schedule] ([Info], [TBD], [AwayTeam], [HomeTeam], [Date], [Season_ID], [Winner], [Loser], [WinnerScore], [LoserScore], [EndType]) VALUES (@Info, @TBD, @AwayTeam, @HomeTeam, @Date, @Season_ID, @Winner, @Loser, @WinnerScore, @LoserScore, @EndType)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Info";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Info";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TBD";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TBD";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@AwayTeam";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "AwayTeam";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@HomeTeam";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "HomeTeam";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Date";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Date";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Season_ID";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Season_ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Winner";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Winner";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Loser";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Loser";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@WinnerScore";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "WinnerScore";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LoserScore";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "LoserScore";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@EndType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "EndType";
     this._adapter.InsertCommand.Parameters.Add(param);
 }
Exemplo n.º 12
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "seasons";
     tableMapping.ColumnMappings.Add("Season_ID", "Season_ID");
     tableMapping.ColumnMappings.Add("FirstYear", "FirstYear");
     tableMapping.ColumnMappings.Add("SecondYear", "SecondYear");
     tableMapping.ColumnMappings.Add("Playoffs", "Playoffs");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [seasons] WHERE (([Season_ID] = @Original_Season_ID) AND ((@IsNull_FirstYear = 1 AND [FirstYear] IS NULL) OR ([FirstYear] = @Original_FirstYear)) AND ((@IsNull_SecondYear = 1 AND [SecondYear] IS NULL) OR ([SecondYear] = @Original_SecondYear)) AND ((@IsNull_Playoffs = 1 AND [Playoffs] IS NULL) OR ([Playoffs] = @Original_Playoffs)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Season_ID";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "Season_ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_FirstYear";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "FirstYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_FirstYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_SecondYear";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "SecondYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_SecondYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SecondYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Playoffs";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Playoffs";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Playoffs";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "Playoffs";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [seasons] ([FirstYear], [SecondYear], [Playoffs]) VALUES (@FirstYear," +
         " @SecondYear, @Playoffs)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@FirstYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstYear";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SecondYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SecondYear";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Playoffs";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "Playoffs";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [seasons] SET [FirstYear] = @FirstYear, [SecondYear] = @SecondYear, [Playoffs] = @Playoffs WHERE (([Season_ID] = @Original_Season_ID) AND ((@IsNull_FirstYear = 1 AND [FirstYear] IS NULL) OR ([FirstYear] = @Original_FirstYear)) AND ((@IsNull_SecondYear = 1 AND [SecondYear] IS NULL) OR ([SecondYear] = @Original_SecondYear)) AND ((@IsNull_Playoffs = 1 AND [Playoffs] IS NULL) OR ([Playoffs] = @Original_Playoffs)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@FirstYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstYear";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SecondYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SecondYear";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Playoffs";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "Playoffs";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Season_ID";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "Season_ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_FirstYear";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "FirstYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_FirstYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_SecondYear";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "SecondYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_SecondYear";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SecondYear";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Playoffs";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Playoffs";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Playoffs";
     param.DbType = global::System.Data.DbType.Boolean;
     param.DbType = global::System.Data.DbType.Boolean;
     param.SourceColumn = "Playoffs";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 13
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "teamstats";
     tableMapping.ColumnMappings.Add("TeamName", "TeamName");
     tableMapping.ColumnMappings.Add("GP", "GP");
     tableMapping.ColumnMappings.Add("GP - Home", "GP - Home");
     tableMapping.ColumnMappings.Add("GP - Road", "GP - Road");
     tableMapping.ColumnMappings.Add("OT GP", "OT GP");
     tableMapping.ColumnMappings.Add("OT GP - Home", "OT GP - Home");
     tableMapping.ColumnMappings.Add("OT GP - Road", "OT GP - Road");
     tableMapping.ColumnMappings.Add("Win %age", "Win %age");
     tableMapping.ColumnMappings.Add("Win %age - Home", "Win %age - Home");
     tableMapping.ColumnMappings.Add("Win %age - Road", "Win %age - Road");
     tableMapping.ColumnMappings.Add("Win %age - 1 Goal Games", "Win %age - 1 Goal Games");
     tableMapping.ColumnMappings.Add("Win %age - 2 Goal Games", "Win %age - 2 Goal Games");
     tableMapping.ColumnMappings.Add("Win %age - 3 Goal Games", "Win %age - 3 Goal Games");
     tableMapping.ColumnMappings.Add("Win %age - Ahead After Per 1", "Win %age - Ahead After Per 1");
     tableMapping.ColumnMappings.Add("Win %age - Ahead After Per 2", "Win %age - Ahead After Per 2");
     tableMapping.ColumnMappings.Add("Win %age - Tied After Per 1", "Win %age - Tied After Per 1");
     tableMapping.ColumnMappings.Add("Win %age - Tied After Per 2", "Win %age - Tied After Per 2");
     tableMapping.ColumnMappings.Add("Win %age - Behind After Per 1", "Win %age - Behind After Per 1");
     tableMapping.ColumnMappings.Add("Win %age - Behind After Per 2", "Win %age - Behind After Per 2");
     tableMapping.ColumnMappings.Add("Win %age - 1st Score", "Win %age - 1st Score");
     tableMapping.ColumnMappings.Add("Win %age - 1st Score By Opp", "Win %age - 1st Score By Opp");
     tableMapping.ColumnMappings.Add("Win %age - Outshoot Opp", "Win %age - Outshoot Opp");
     tableMapping.ColumnMappings.Add("Win %age - Outshot By Opp", "Win %age - Outshot By Opp");
     tableMapping.ColumnMappings.Add("Win %age - Even Shots", "Win %age - Even Shots");
     tableMapping.ColumnMappings.Add("Wins", "Wins");
     tableMapping.ColumnMappings.Add("Wins - Home", "Wins - Home");
     tableMapping.ColumnMappings.Add("Wins - Road", "Wins - Road");
     tableMapping.ColumnMappings.Add("Wins - 1 Goal Games", "Wins - 1 Goal Games");
     tableMapping.ColumnMappings.Add("Wins - 2 Goal Games", "Wins - 2 Goal Games");
     tableMapping.ColumnMappings.Add("Wins - 3 Goal Games", "Wins - 3 Goal Games");
     tableMapping.ColumnMappings.Add("Wins - Ahead After Per 1", "Wins - Ahead After Per 1");
     tableMapping.ColumnMappings.Add("Wins - Ahead After Per 2", "Wins - Ahead After Per 2");
     tableMapping.ColumnMappings.Add("Wins - Tied After Per 1", "Wins - Tied After Per 1");
     tableMapping.ColumnMappings.Add("Wins - Tied After Per 2", "Wins - Tied After Per 2");
     tableMapping.ColumnMappings.Add("Wins - Behind After Per 1", "Wins - Behind After Per 1");
     tableMapping.ColumnMappings.Add("Wins - Behind After Per 2", "Wins - Behind After Per 2");
     tableMapping.ColumnMappings.Add("Wins - 1st Score", "Wins - 1st Score");
     tableMapping.ColumnMappings.Add("Wins - 1st Score By Opp", "Wins - 1st Score By Opp");
     tableMapping.ColumnMappings.Add("Wins - Outshoot Opp", "Wins - Outshoot Opp");
     tableMapping.ColumnMappings.Add("Wins - Outshot By Opp", "Wins - Outshot By Opp");
     tableMapping.ColumnMappings.Add("Wins - Even Shots", "Wins - Even Shots");
     tableMapping.ColumnMappings.Add("OT Wins", "OT Wins");
     tableMapping.ColumnMappings.Add("Losses", "Losses");
     tableMapping.ColumnMappings.Add("Losses - Home", "Losses - Home");
     tableMapping.ColumnMappings.Add("Losses - Road", "Losses - Road");
     tableMapping.ColumnMappings.Add("Losses - 1 Goal Games", "Losses - 1 Goal Games");
     tableMapping.ColumnMappings.Add("Losses - 2 Goal Games", "Losses - 2 Goal Games");
     tableMapping.ColumnMappings.Add("Losses - 3 Goal Games", "Losses - 3 Goal Games");
     tableMapping.ColumnMappings.Add("Losses - Ahead After Per 1", "Losses - Ahead After Per 1");
     tableMapping.ColumnMappings.Add("Losses - Ahead After Per 2", "Losses - Ahead After Per 2");
     tableMapping.ColumnMappings.Add("Losses - Tied After Per 1", "Losses - Tied After Per 1");
     tableMapping.ColumnMappings.Add("Losses - Tied After Per 2", "Losses - Tied After Per 2");
     tableMapping.ColumnMappings.Add("Losses - Behind After Per 1", "Losses - Behind After Per 1");
     tableMapping.ColumnMappings.Add("Losses - Behind After Per 2", "Losses - Behind After Per 2");
     tableMapping.ColumnMappings.Add("Losses - 1st Score", "Losses - 1st Score");
     tableMapping.ColumnMappings.Add("Losses - 1st Score By Opp", "Losses - 1st Score By Opp");
     tableMapping.ColumnMappings.Add("Losses - Outshoot Opp", "Losses - Outshoot Opp");
     tableMapping.ColumnMappings.Add("Losses - Outshot By Opp", "Losses - Outshot By Opp");
     tableMapping.ColumnMappings.Add("Losses - Even Shots", "Losses - Even Shots");
     tableMapping.ColumnMappings.Add("OT Losses", "OT Losses");
     tableMapping.ColumnMappings.Add("Ties", "Ties");
     tableMapping.ColumnMappings.Add("Ties - Home", "Ties - Home");
     tableMapping.ColumnMappings.Add("Ties - Road", "Ties - Road");
     tableMapping.ColumnMappings.Add("Ties - Ahead After Per 1", "Ties - Ahead After Per 1");
     tableMapping.ColumnMappings.Add("Ties - Ahead After Per 2", "Ties - Ahead After Per 2");
     tableMapping.ColumnMappings.Add("Ties - Tied After Per 1", "Ties - Tied After Per 1");
     tableMapping.ColumnMappings.Add("Ties - Tied After Per 2", "Ties - Tied After Per 2");
     tableMapping.ColumnMappings.Add("Ties - Behind After Per 1", "Ties - Behind After Per 1");
     tableMapping.ColumnMappings.Add("Ties - Behind After Per 2", "Ties - Behind After Per 2");
     tableMapping.ColumnMappings.Add("Ties - 1st Score", "Ties - 1st Score");
     tableMapping.ColumnMappings.Add("Ties - 1st Score By Opp", "Ties - 1st Score By Opp");
     tableMapping.ColumnMappings.Add("Ties - Outshoot Opp", "Ties - Outshoot Opp");
     tableMapping.ColumnMappings.Add("Ties - Outshot By Opp", "Ties - Outshot By Opp");
     tableMapping.ColumnMappings.Add("Ties - Even Shots", "Ties - Even Shots");
     tableMapping.ColumnMappings.Add("OT Ties", "OT Ties");
     tableMapping.ColumnMappings.Add("Points", "Points");
     tableMapping.ColumnMappings.Add("Points - Home", "Points - Home");
     tableMapping.ColumnMappings.Add("Points - Road", "Points - Road");
     tableMapping.ColumnMappings.Add("Shutouts", "Shutouts");
     tableMapping.ColumnMappings.Add("Shutouts - Home", "Shutouts - Home");
     tableMapping.ColumnMappings.Add("Shutouts - Road", "Shutouts - Road");
     tableMapping.ColumnMappings.Add("Shutouts By Opp", "Shutouts By Opp");
     tableMapping.ColumnMappings.Add("Shutouts By Opp - Home", "Shutouts By Opp - Home");
     tableMapping.ColumnMappings.Add("Shutouts By Opp - Road", "Shutouts By Opp - Road");
     tableMapping.ColumnMappings.Add("Goals", "Goals");
     tableMapping.ColumnMappings.Add("Goals - ES", "Goals - ES");
     tableMapping.ColumnMappings.Add("Goals - PP", "Goals - PP");
     tableMapping.ColumnMappings.Add("Goals - SH", "Goals - SH");
     tableMapping.ColumnMappings.Add("Goals - EN", "Goals - EN");
     tableMapping.ColumnMappings.Add("Goals - PS", "Goals - PS");
     tableMapping.ColumnMappings.Add("Goals - 3 On 3", "Goals - 3 On 3");
     tableMapping.ColumnMappings.Add("Goals - 3 On 4", "Goals - 3 On 4");
     tableMapping.ColumnMappings.Add("Goals - 3 On 5", "Goals - 3 On 5");
     tableMapping.ColumnMappings.Add("Goals - 4 On 3", "Goals - 4 On 3");
     tableMapping.ColumnMappings.Add("Goals - 4 On 4", "Goals - 4 On 4");
     tableMapping.ColumnMappings.Add("Goals - 4 On 5", "Goals - 4 On 5");
     tableMapping.ColumnMappings.Add("Goals - 5 On 3", "Goals - 5 On 3");
     tableMapping.ColumnMappings.Add("Goals - 5 On 4", "Goals - 5 On 4");
     tableMapping.ColumnMappings.Add("Goals - 5 On 5", "Goals - 5 On 5");
     tableMapping.ColumnMappings.Add("Goals - Down By 1", "Goals - Down By 1");
     tableMapping.ColumnMappings.Add("Goals - Up By 1", "Goals - Up By 1");
     tableMapping.ColumnMappings.Add("Goals - Per 1", "Goals - Per 1");
     tableMapping.ColumnMappings.Add("Goals - Per 2", "Goals - Per 2");
     tableMapping.ColumnMappings.Add("Goals - Per 3", "Goals - Per 3");
     tableMapping.ColumnMappings.Add("Goals - OT", "Goals - OT");
     tableMapping.ColumnMappings.Add("Goals Per Game", "Goals Per Game");
     tableMapping.ColumnMappings.Add("GA", "GA");
     tableMapping.ColumnMappings.Add("GA - ES", "GA - ES");
     tableMapping.ColumnMappings.Add("GA - PP", "GA - PP");
     tableMapping.ColumnMappings.Add("GA - SH", "GA - SH");
     tableMapping.ColumnMappings.Add("GA - EN", "GA - EN");
     tableMapping.ColumnMappings.Add("GA - PS", "GA - PS");
     tableMapping.ColumnMappings.Add("GA - 3 On 3", "GA - 3 On 3");
     tableMapping.ColumnMappings.Add("GA - 3 On 4", "GA - 3 On 4");
     tableMapping.ColumnMappings.Add("GA - 3 On 5", "GA - 3 On 5");
     tableMapping.ColumnMappings.Add("GA - 4 On 3", "GA - 4 On 3");
     tableMapping.ColumnMappings.Add("GA - 4 On 4", "GA - 4 On 4");
     tableMapping.ColumnMappings.Add("GA - 4 On 5", "GA - 4 On 5");
     tableMapping.ColumnMappings.Add("GA - 5 On 3", "GA - 5 On 3");
     tableMapping.ColumnMappings.Add("GA - 5 On 4", "GA - 5 On 4");
     tableMapping.ColumnMappings.Add("GA - 5 On 5", "GA - 5 On 5");
     tableMapping.ColumnMappings.Add("GA - Down By 1", "GA - Down By 1");
     tableMapping.ColumnMappings.Add("GA - Up By 1", "GA - Up By 1");
     tableMapping.ColumnMappings.Add("GA - Per 1", "GA - Per 1");
     tableMapping.ColumnMappings.Add("GA - Per 2", "GA - Per 2");
     tableMapping.ColumnMappings.Add("GA - Per 3", "GA - Per 3");
     tableMapping.ColumnMappings.Add("GA - OT", "GA - OT");
     tableMapping.ColumnMappings.Add("GA Per Game", "GA Per Game");
     tableMapping.ColumnMappings.Add("PP", "PP");
     tableMapping.ColumnMappings.Add("PP - Home", "PP - Home");
     tableMapping.ColumnMappings.Add("PP - Road", "PP - Road");
     tableMapping.ColumnMappings.Add("PP %age", "PP %age");
     tableMapping.ColumnMappings.Add("PP %age - Home", "PP %age - Home");
     tableMapping.ColumnMappings.Add("PP %age - Road", "PP %age - Road");
     tableMapping.ColumnMappings.Add("PK", "PK");
     tableMapping.ColumnMappings.Add("PK - Home", "PK - Home");
     tableMapping.ColumnMappings.Add("PK - Road", "PK - Road");
     tableMapping.ColumnMappings.Add("PK %age", "PK %age");
     tableMapping.ColumnMappings.Add("PK %age - Home", "PK %age - Home");
     tableMapping.ColumnMappings.Add("PK %age - Road", "PK %age - Road");
     tableMapping.ColumnMappings.Add("Penalties", "Penalties");
     tableMapping.ColumnMappings.Add("PIM", "PIM");
     tableMapping.ColumnMappings.Add("FO Win %age", "FO Win %age");
     tableMapping.ColumnMappings.Add("Shots", "Shots");
     tableMapping.ColumnMappings.Add("Shooting %age", "Shooting %age");
     tableMapping.ColumnMappings.Add("SA", "SA");
     tableMapping.ColumnMappings.Add("SA %age", "SA %age");
     tableMapping.ColumnMappings.Add("Season_ID", "Season_ID");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [teamstats] ([Season_ID], [TeamName], [GP], [GP - Home], [GP - Road]," +
         " [OT GP], [OT GP - Home], [OT GP - Road], [Win %age], [Win %age - Home], [Win %a" +
         "ge - Road], [Win %age - 1 Goal Games], [Win %age - 2 Goal Games], [Win %age - 3 " +
         "Goal Games], [Win %age - Ahead After Per 1], [Win %age - Ahead After Per 2], [Wi" +
         "n %age - Tied After Per 1], [Win %age - Tied After Per 2], [Win %age - Behind Af" +
         "ter Per 1], [Win %age - Behind After Per 2], [Win %age - 1st Score], [Win %age -" +
         " 1st Score By Opp], [Win %age - Outshoot Opp], [Win %age - Outshot By Opp], [Win" +
         " %age - Even Shots], [Wins], [Wins - Home], [Wins - Road], [Wins - 1 Goal Games]" +
         ", [Wins - 2 Goal Games], [Wins - 3 Goal Games], [Wins - Ahead After Per 1], [Win" +
         "s - Ahead After Per 2], [Wins - Tied After Per 1], [Wins - Tied After Per 2], [W" +
         "ins - Behind After Per 1], [Wins - Behind After Per 2], [Wins - 1st Score], [Win" +
         "s - 1st Score By Opp], [Wins - Outshoot Opp], [Wins - Outshot By Opp], [Wins - E" +
         "ven Shots], [OT Wins], [Losses], [Losses - Home], [Losses - Road], [Losses - 1 G" +
         "oal Games], [Losses - 2 Goal Games], [Losses - 3 Goal Games], [Losses - Ahead Af" +
         "ter Per 1], [Losses - Ahead After Per 2], [Losses - Tied After Per 1], [Losses -" +
         " Tied After Per 2], [Losses - Behind After Per 1], [Losses - Behind After Per 2]" +
         ", [Losses - 1st Score], [Losses - 1st Score By Opp], [Losses - Outshoot Opp], [L" +
         "osses - Outshot By Opp], [Losses - Even Shots], [OT Losses], [Ties], [Ties - Hom" +
         "e], [Ties - Road], [Ties - Ahead After Per 1], [Ties - Ahead After Per 2], [Ties" +
         " - Tied After Per 1], [Ties - Tied After Per 2], [Ties - Behind After Per 1], [T" +
         "ies - Behind After Per 2], [Ties - 1st Score], [Ties - 1st Score By Opp], [Ties " +
         "- Outshoot Opp], [Ties - Outshot By Opp], [Ties - Even Shots], [OT Ties], [Point" +
         "s], [Points - Home], [Points - Road], [Shutouts], [Shutouts - Home], [Shutouts -" +
         " Road], [Shutouts By Opp], [Shutouts By Opp - Home], [Shutouts By Opp - Road], [" +
         "Goals], [Goals - ES], [Goals - PP], [Goals - SH], [Goals - EN], [Goals - PS], [G" +
         "oals - 3 On 3], [Goals - 3 On 4], [Goals - 3 On 5], [Goals - 4 On 3], [Goals - 4" +
         " On 4], [Goals - 4 On 5], [Goals - 5 On 3], [Goals - 5 On 4], [Goals - 5 On 5], " +
         "[Goals - Down By 1], [Goals - Up By 1], [Goals - Per 1], [Goals - Per 2], [Goals" +
         " - Per 3], [Goals - OT], [Goals Per Game], [GA], [GA - ES], [GA - PP], [GA - SH]" +
         ", [GA - EN], [GA - PS], [GA - 3 On 3], [GA - 3 On 4], [GA - 3 On 5], [GA - 4 On " +
         "3], [GA - 4 On 4], [GA - 4 On 5], [GA - 5 On 3], [GA - 5 On 4], [GA - 5 On 5], [" +
         "GA - Down By 1], [GA - Up By 1], [GA - Per 1], [GA - Per 2], [GA - Per 3], [GA -" +
         " OT], [GA Per Game], [PP], [PP - Home], [PP - Road], [PP %age], [PP %age - Home]" +
         ", [PP %age - Road], [PK], [PK - Home], [PK - Road], [PK %age], [PK %age - Home]," +
         " [PK %age - Road], [Penalties], [PIM], [FO Win %age], [Shots], [Shooting %age], " +
         "[SA], [SA %age]) VALUES (@Season_ID, @TeamName, @GP, @param1, @param4, @OT_GP, @" +
         "param7, @param10, @param13, @param16, @param19, @param22, @param25, @param28, @p" +
         "aram31, @param34, @param37, @param40, @param43, @param46, @param49, @param52, @p" +
         "aram55, @param58, @param61, @Wins, @param64, @param67, @param70, @param73, @para" +
         "m76, @param79, @param82, @param85, @param88, @param91, @param94, @param97, @para" +
         "m100, @param103, @param106, @param109, @OT_Wins, @Losses, @param112, @param115, " +
         "@param118, @param121, @param124, @param127, @param130, @param133, @param136, @pa" +
         "ram139, @param142, @param145, @param148, @param151, @param154, @param157, @OT_Lo" +
         "sses, @Ties, @param160, @param163, @param166, @param169, @param172, @param175, @" +
         "param178, @param181, @param184, @param187, @param190, @param193, @param196, @OT_" +
         "Ties, @Points, @param199, @param202, @Shutouts, @param205, @param208, @Shutouts_" +
         "By_Opp, @param211, @param214, @Goals, @param217, @param220, @param223, @param226" +
         ", @param229, @param232, @param235, @param238, @param241, @param244, @param247, @" +
         "param250, @param253, @param256, @param259, @param262, @param265, @param268, @par" +
         "am271, @param274, @Goals_Per_Game, @GA, @param277, @param280, @param283, @param2" +
         "86, @param289, @param292, @param295, @param298, @param301, @param304, @param307," +
         " @param310, @param313, @param316, @param319, @param322, @param325, @param328, @p" +
         "aram331, @param334, @GA_Per_Game, @PP, @param337, @param340, @param343, @param34" +
         "6, @param349, @PK, @param352, @param355, @param358, @param361, @param364, @Penal" +
         "ties, @PIM, @param367, @Shots, @param370, @SA, @param373)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Season_ID";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "Season_ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TeamName";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "TeamName";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GP";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param1";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GP - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param4";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GP - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@OT_GP";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT GP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param7";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT GP - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param10";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT GP - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param13";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param16";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param19";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param22";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - 1 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param25";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - 2 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param28";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - 3 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param31";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Ahead After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param34";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Ahead After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param37";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Tied After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param40";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Tied After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param43";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Behind After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param46";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Behind After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param49";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - 1st Score";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param52";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - 1st Score By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param55";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Outshoot Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param58";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Outshot By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param61";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Win %age - Even Shots";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Wins";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param64";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param67";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param70";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - 1 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param73";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - 2 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param76";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - 3 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param79";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Ahead After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param82";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Ahead After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param85";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Tied After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param88";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Tied After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param91";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Behind After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param94";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Behind After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param97";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - 1st Score";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param100";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - 1st Score By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param103";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Outshoot Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param106";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Outshot By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param109";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins - Even Shots";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@OT_Wins";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT Wins";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Losses";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param112";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param115";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param118";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - 1 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param121";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - 2 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param124";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - 3 Goal Games";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param127";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Ahead After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param130";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Ahead After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param133";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Tied After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param136";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Tied After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param139";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Behind After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param142";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Behind After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param145";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - 1st Score";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param148";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - 1st Score By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param151";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Outshoot Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param154";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Outshot By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param157";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses - Even Shots";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@OT_Losses";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT Losses";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Ties";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param160";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param163";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param166";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Ahead After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param169";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Ahead After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param172";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Tied After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param175";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Tied After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param178";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Behind After Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param181";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Behind After Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param184";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - 1st Score";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param187";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - 1st Score By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param190";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Outshoot Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param193";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Outshot By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param196";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties - Even Shots";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@OT_Ties";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT Ties";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Points";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param199";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param202";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Shutouts";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shutouts";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param205";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shutouts - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param208";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shutouts - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Shutouts_By_Opp";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shutouts By Opp";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param211";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shutouts By Opp - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param214";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shutouts By Opp - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Goals";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param217";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param220";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param223";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param226";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - EN";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param229";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param232";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 3 On 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param235";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 3 On 4";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param238";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 3 On 5";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param241";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 4 On 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param244";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 4 On 4";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param247";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 4 On 5";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param250";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 5 On 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param253";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 5 On 4";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param256";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - 5 On 5";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param259";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Down By 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param262";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Up By 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param265";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param268";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param271";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - Per 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param274";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals - OT";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Goals_Per_Game";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals Per Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GA";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param277";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param280";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param283";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param286";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - EN";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param289";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param292";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 3 On 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param295";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 3 On 4";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param298";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 3 On 5";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param301";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 4 On 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param304";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 4 On 4";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param307";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 4 On 5";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param310";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 5 On 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param313";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 5 On 4";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param316";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - 5 On 5";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param319";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - Down By 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param322";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - Up By 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param325";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - Per 1";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param328";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - Per 2";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param331";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - Per 3";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param334";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - OT";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GA_Per_Game";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA Per Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@PP";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param337";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PP - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param340";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PP - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param343";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PP %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param346";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PP %age - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param349";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PP %age - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@PK";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PK";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param352";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PK - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param355";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PK - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param358";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PK %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param361";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PK %age - Home";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param364";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PK %age - Road";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Penalties";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Penalties";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@PIM";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PIM";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param367";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "FO Win %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Shots";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shots";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param370";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shooting %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SA";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param373";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA %age";
     this._adapter.InsertCommand.Parameters.Add(param);
 }
Exemplo n.º 14
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "ophens";
     tableMapping.ColumnMappings.Add("data.bssid", "data_bssid");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [ophens] ([data.bssid]) VALUES (@param1)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param1";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "data.bssid";
     this._adapter.InsertCommand.Parameters.Add(param);
 }
Exemplo n.º 15
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "locations";
     tableMapping.ColumnMappings.Add("location_id", "location_id");
     tableMapping.ColumnMappings.Add("max_storage", "max_storage");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [locations] WHERE (([location_id] = @Original_location_id) AND ([max_" +
         "storage] = @Original_max_storage))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_max_storage";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "max_storage";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [locations] ([location_id], [max_storage]) VALUES (@location_id, @max" +
         "_storage)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@max_storage";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "max_storage";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = "UPDATE [locations] SET [location_id] = @location_id, [max_storage] = @max_storage" +
         " WHERE (([location_id] = @Original_location_id) AND ([max_storage] = @Original_m" +
         "ax_storage))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@max_storage";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "max_storage";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_location_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "location_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_max_storage";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "max_storage";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 16
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "Datanew";
     tableMapping.ColumnMappings.Add("oui", "oui");
     tableMapping.ColumnMappings.Add("totalpacketsweak", "totalpacketsweak");
     tableMapping.ColumnMappings.Add("totalpacketstotal", "totalpacketstotal");
     tableMapping.ColumnMappings.Add("totalpacketsllc", "totalpacketsllc");
     tableMapping.ColumnMappings.Add("totalpacketsdupeiv", "totalpacketsdupeiv");
     tableMapping.ColumnMappings.Add("totalpacketsdata", "totalpacketsdata");
     tableMapping.ColumnMappings.Add("totalpacketscrypt", "totalpacketscrypt");
     tableMapping.ColumnMappings.Add("Network", "Network");
     tableMapping.ColumnMappings.Add("NetType", "NetType");
     tableMapping.ColumnMappings.Add("ESSID", "ESSID");
     tableMapping.ColumnMappings.Add("BSSID", "BSSID");
     tableMapping.ColumnMappings.Add("Info", "Info");
     tableMapping.ColumnMappings.Add("Channel", "Channel");
     tableMapping.ColumnMappings.Add("Cloaked", "Cloaked");
     tableMapping.ColumnMappings.Add("Encryption", "Encryption");
     tableMapping.ColumnMappings.Add("Decrypted", "Decrypted");
     tableMapping.ColumnMappings.Add("MaxRate", "MaxRate");
     tableMapping.ColumnMappings.Add("MaxSeenRate", "MaxSeenRate");
     tableMapping.ColumnMappings.Add("Beacon", "Beacon");
     tableMapping.ColumnMappings.Add("LLC", "LLC");
     tableMapping.ColumnMappings.Add("Data", "Data");
     tableMapping.ColumnMappings.Add("Crypt", "Crypt");
     tableMapping.ColumnMappings.Add("Weak", "Weak");
     tableMapping.ColumnMappings.Add("Total", "Total");
     tableMapping.ColumnMappings.Add("Carrier", "Carrier");
     tableMapping.ColumnMappings.Add("Encoding", "Encoding");
     tableMapping.ColumnMappings.Add("FirstTime", "FirstTime");
     tableMapping.ColumnMappings.Add("LastTime", "LastTime");
     tableMapping.ColumnMappings.Add("BestQuality", "BestQuality");
     tableMapping.ColumnMappings.Add("BestSignal", "BestSignal");
     tableMapping.ColumnMappings.Add("BestNoise", "BestNoise");
     tableMapping.ColumnMappings.Add("GPSMinLat", "GPSMinLat");
     tableMapping.ColumnMappings.Add("GPSMinLon", "GPSMinLon");
     tableMapping.ColumnMappings.Add("GPSMinAlt", "GPSMinAlt");
     tableMapping.ColumnMappings.Add("GPSMinSpd", "GPSMinSpd");
     tableMapping.ColumnMappings.Add("GPSMaxLat", "GPSMaxLat");
     tableMapping.ColumnMappings.Add("GPSMaxLon", "GPSMaxLon");
     tableMapping.ColumnMappings.Add("GPSMaxAlt", "GPSMaxAlt");
     tableMapping.ColumnMappings.Add("GPSMaxSpd", "GPSMaxSpd");
     tableMapping.ColumnMappings.Add("GPSBestLat", "GPSBestLat");
     tableMapping.ColumnMappings.Add("GPSBestLon", "GPSBestLon");
     tableMapping.ColumnMappings.Add("GPSBestAlt", "GPSBestAlt");
     tableMapping.ColumnMappings.Add("Datasize", "Datasize");
     tableMapping.ColumnMappings.Add("IPType", "IPType");
     tableMapping.ColumnMappings.Add("IP", "IP");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [Data] WHERE (((@IsNull_oui = 1 AND [oui] IS NULL) OR ([oui] = @Origi" +
         "nal_oui)) AND ((@IsNull_totalpacketsweak = 1 AND [totalpacketsweak] IS NULL) OR " +
         "([totalpacketsweak] = @Original_totalpacketsweak)) AND ((@IsNull_totalpacketstot" +
         "al = 1 AND [totalpacketstotal] IS NULL) OR ([totalpacketstotal] = @Original_tota" +
         "lpacketstotal)) AND ((@IsNull_totalpacketsllc = 1 AND [totalpacketsllc] IS NULL)" +
         " OR ([totalpacketsllc] = @Original_totalpacketsllc)) AND ((@IsNull_totalpacketsd" +
         "upeiv = 1 AND [totalpacketsdupeiv] IS NULL) OR ([totalpacketsdupeiv] = @Original" +
         "_totalpacketsdupeiv)) AND ((@IsNull_totalpacketsdata = 1 AND [totalpacketsdata] " +
         "IS NULL) OR ([totalpacketsdata] = @Original_totalpacketsdata)) AND ((@IsNull_tot" +
         "alpacketscrypt = 1 AND [totalpacketscrypt] IS NULL) OR ([totalpacketscrypt] = @O" +
         "riginal_totalpacketscrypt)) AND ((@IsNull_Network = 1 AND [Network] IS NULL) OR " +
         "([Network] = @Original_Network)) AND ((@IsNull_NetType = 1 AND [NetType] IS NULL" +
         ") OR ([NetType] = @Original_NetType)) AND ((@IsNull_ESSID = 1 AND [ESSID] IS NUL" +
         "L) OR ([ESSID] = @Original_ESSID)) AND ([BSSID] = @Original_BSSID) AND ((@IsNull" +
         "_Info = 1 AND [Info] IS NULL) OR ([Info] = @Original_Info)) AND ((@IsNull_Channe" +
         "l = 1 AND [Channel] IS NULL) OR ([Channel] = @Original_Channel)) AND ((@IsNull_C" +
         "loaked = 1 AND [Cloaked] IS NULL) OR ([Cloaked] = @Original_Cloaked)) AND ((@IsN" +
         "ull_Encryption = 1 AND [Encryption] IS NULL) OR ([Encryption] = @Original_Encryp" +
         "tion)) AND ((@IsNull_Decrypted = 1 AND [Decrypted] IS NULL) OR ([Decrypted] = @O" +
         "riginal_Decrypted)) AND ((@IsNull_MaxRate = 1 AND [MaxRate] IS NULL) OR ([MaxRat" +
         "e] = @Original_MaxRate)) AND ((@IsNull_MaxSeenRate = 1 AND [MaxSeenRate] IS NULL" +
         ") OR ([MaxSeenRate] = @Original_MaxSeenRate)) AND ((@IsNull_Beacon = 1 AND [Beac" +
         "on] IS NULL) OR ([Beacon] = @Original_Beacon)) AND ((@IsNull_LLC = 1 AND [LLC] I" +
         "S NULL) OR ([LLC] = @Original_LLC)) AND ((@IsNull_Data = 1 AND [Data] IS NULL) O" +
         "R ([Data] = @Original_Data)) AND ((@IsNull_Crypt = 1 AND [Crypt] IS NULL) OR ([C" +
         "rypt] = @Original_Crypt)) AND ((@IsNull_Weak = 1 AND [Weak] IS NULL) OR ([Weak] " +
         "= @Original_Weak)) AND ((@IsNull_Total = 1 AND [Total] IS NULL) OR ([Total] = @O" +
         "riginal_Total)) AND ((@IsNull_Carrier = 1 AND [Carrier] IS NULL) OR ([Carrier] =" +
         " @Original_Carrier)) AND ((@IsNull_Encoding = 1 AND [Encoding] IS NULL) OR ([Enc" +
         "oding] = @Original_Encoding)) AND ((@IsNull_FirstTime = 1 AND [FirstTime] IS NUL" +
         "L) OR ([FirstTime] = @Original_FirstTime)) AND ((@IsNull_LastTime = 1 AND [LastT" +
         "ime] IS NULL) OR ([LastTime] = @Original_LastTime)) AND ((@IsNull_BestQuality = " +
         "1 AND [BestQuality] IS NULL) OR ([BestQuality] = @Original_BestQuality)) AND ((@" +
         "IsNull_BestSignal = 1 AND [BestSignal] IS NULL) OR ([BestSignal] = @Original_Bes" +
         "tSignal)) AND ((@IsNull_BestNoise = 1 AND [BestNoise] IS NULL) OR ([BestNoise] =" +
         " @Original_BestNoise)) AND ((@IsNull_GPSMinLat = 1 AND [GPSMinLat] IS NULL) OR (" +
         "[GPSMinLat] = @Original_GPSMinLat)) AND ((@IsNull_GPSMinLon = 1 AND [GPSMinLon] " +
         "IS NULL) OR ([GPSMinLon] = @Original_GPSMinLon)) AND ((@IsNull_GPSMinAlt = 1 AND" +
         " [GPSMinAlt] IS NULL) OR ([GPSMinAlt] = @Original_GPSMinAlt)) AND ((@IsNull_GPSM" +
         "inSpd = 1 AND [GPSMinSpd] IS NULL) OR ([GPSMinSpd] = @Original_GPSMinSpd)) AND (" +
         "(@IsNull_GPSMaxLat = 1 AND [GPSMaxLat] IS NULL) OR ([GPSMaxLat] = @Original_GPSM" +
         "axLat)) AND ((@IsNull_GPSMaxLon = 1 AND [GPSMaxLon] IS NULL) OR ([GPSMaxLon] = @" +
         "Original_GPSMaxLon)) AND ((@IsNull_GPSMaxAlt = 1 AND [GPSMaxAlt] IS NULL) OR ([G" +
         "PSMaxAlt] = @Original_GPSMaxAlt)) AND ((@IsNull_GPSMaxSpd = 1 AND [GPSMaxSpd] IS" +
         " NULL) OR ([GPSMaxSpd] = @Original_GPSMaxSpd)) AND ((@IsNull_GPSBestLat = 1 AND " +
         "[GPSBestLat] IS NULL) OR ([GPSBestLat] = @Original_GPSBestLat)) AND ((@IsNull_GP" +
         "SBestLon = 1 AND [GPSBestLon] IS NULL) OR ([GPSBestLon] = @Original_GPSBestLon))" +
         " AND ((@IsNull_GPSBestAlt = 1 AND [GPSBestAlt] IS NULL) OR ([GPSBestAlt] = @Orig" +
         "inal_GPSBestAlt)) AND ((@IsNull_Datasize = 1 AND [Datasize] IS NULL) OR ([Datasi" +
         "ze] = @Original_Datasize)) AND ((@IsNull_IPType = 1 AND [IPType] IS NULL) OR ([I" +
         "PType] = @Original_IPType)) AND ((@IsNull_IP = 1 AND [IP] IS NULL) OR ([IP] = @O" +
         "riginal_IP)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_oui";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsweak";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketstotal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketstotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketstotal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketstotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsllc";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsllc";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsllc";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsllc";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsdupeiv";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsdupeiv";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsdupeiv";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdupeiv";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsdata";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketscrypt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Network";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Network";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Network";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Network";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_NetType";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "NetType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_NetType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "NetType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_ESSID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ESSID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ESSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ESSID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BSSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BSSID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Info";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Info";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Info";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Info";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Channel";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Channel";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Channel";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Channel";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Cloaked";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Cloaked";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Cloaked";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Cloaked";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Encryption";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Encryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Encryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Decrypted";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Decrypted";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Decrypted";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Decrypted";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_MaxRate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "MaxRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_MaxRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_MaxSeenRate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "MaxSeenRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_MaxSeenRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxSeenRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Beacon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Beacon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Beacon";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Beacon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_LLC";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "LLC";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LLC";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LLC";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Data";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Data";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Data";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Data";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Crypt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Crypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Crypt";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Crypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Weak";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Weak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Weak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Weak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Total";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Total";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Total";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Total";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Carrier";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Carrier";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Carrier";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Carrier";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Encoding";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Encoding";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Encoding";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encoding";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_FirstTime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "FirstTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_FirstTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_LastTime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "LastTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LastTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_BestQuality";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "BestQuality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BestQuality";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BestQuality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_BestSignal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "BestSignal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BestSignal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestSignal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_BestNoise";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "BestNoise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BestNoise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestNoise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinLat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinLon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinAlt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinSpd";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxLat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxLon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxAlt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxSpd";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSBestLat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSBestLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSBestLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSBestLon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSBestLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSBestLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSBestAlt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSBestAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSBestAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Datasize";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Datasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Datasize";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Datasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_IPType";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "IPType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_IPType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IPType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_IP";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "IP";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_IP";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IP";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = @"INSERT INTO [Data] ([oui], [totalpacketsweak], [totalpacketstotal], [totalpacketsllc], [totalpacketsdupeiv], [totalpacketsdata], [totalpacketscrypt], [Network], [NetType], [ESSID], [BSSID], [Info], [Channel], [Cloaked], [Encryption], [Decrypted], [MaxRate], [MaxSeenRate], [Beacon], [LLC], [Data], [Crypt], [Weak], [Total], [Carrier], [Encoding], [FirstTime], [LastTime], [BestQuality], [BestSignal], [BestNoise], [GPSMinLat], [GPSMinLon], [GPSMinAlt], [GPSMinSpd], [GPSMaxLat], [GPSMaxLon], [GPSMaxAlt], [GPSMaxSpd], [GPSBestLat], [GPSBestLon], [GPSBestAlt], [Datasize], [IPType], [IP]) VALUES (@oui, @totalpacketsweak, @totalpacketstotal, @totalpacketsllc, @totalpacketsdupeiv, @totalpacketsdata, @totalpacketscrypt, @Network, @NetType, @ESSID, @BSSID, @Info, @Channel, @Cloaked, @Encryption, @Decrypted, @MaxRate, @MaxSeenRate, @Beacon, @LLC, @Data, @Crypt, @Weak, @Total, @Carrier, @Encoding, @FirstTime, @LastTime, @BestQuality, @BestSignal, @BestNoise, @GPSMinLat, @GPSMinLon, @GPSMinAlt, @GPSMinSpd, @GPSMaxLat, @GPSMaxLon, @GPSMaxAlt, @GPSMaxSpd, @GPSBestLat, @GPSBestLon, @GPSBestAlt, @Datasize, @IPType, @IP)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsweak";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketstotal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketstotal";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsllc";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsllc";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsdupeiv";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdupeiv";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdata";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketscrypt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Network";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Network";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@NetType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "NetType";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ESSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ESSID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BSSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BSSID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Info";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Info";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Channel";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Channel";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Cloaked";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Cloaked";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Encryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encryption";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Decrypted";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Decrypted";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@MaxRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxRate";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@MaxSeenRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxSeenRate";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Beacon";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Beacon";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LLC";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LLC";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Data";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Data";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Crypt";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Crypt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Weak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Weak";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Total";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Total";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Carrier";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Carrier";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Encoding";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encoding";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@FirstTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstTime";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LastTime";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BestQuality";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BestQuality";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BestSignal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestSignal";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BestNoise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestNoise";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLat";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLon";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinAlt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinSpd";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLat";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLon";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxAlt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxSpd";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSBestLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLat";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSBestLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLon";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSBestAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestAlt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Datasize";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Datasize";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IPType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IPType";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IP";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IP";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = "UPDATE [Data] SET [oui] = @oui, [totalpacketsweak] = @totalpacketsweak, [totalpac" +
         "ketstotal] = @totalpacketstotal, [totalpacketsllc] = @totalpacketsllc, [totalpac" +
         "ketsdupeiv] = @totalpacketsdupeiv, [totalpacketsdata] = @totalpacketsdata, [tota" +
         "lpacketscrypt] = @totalpacketscrypt, [Network] = @Network, [NetType] = @NetType," +
         " [ESSID] = @ESSID, [BSSID] = @BSSID, [Info] = @Info, [Channel] = @Channel, [Cloa" +
         "ked] = @Cloaked, [Encryption] = @Encryption, [Decrypted] = @Decrypted, [MaxRate]" +
         " = @MaxRate, [MaxSeenRate] = @MaxSeenRate, [Beacon] = @Beacon, [LLC] = @LLC, [Da" +
         "ta] = @Data, [Crypt] = @Crypt, [Weak] = @Weak, [Total] = @Total, [Carrier] = @Ca" +
         "rrier, [Encoding] = @Encoding, [FirstTime] = @FirstTime, [LastTime] = @LastTime," +
         " [BestQuality] = @BestQuality, [BestSignal] = @BestSignal, [BestNoise] = @BestNo" +
         "ise, [GPSMinLat] = @GPSMinLat, [GPSMinLon] = @GPSMinLon, [GPSMinAlt] = @GPSMinAl" +
         "t, [GPSMinSpd] = @GPSMinSpd, [GPSMaxLat] = @GPSMaxLat, [GPSMaxLon] = @GPSMaxLon," +
         " [GPSMaxAlt] = @GPSMaxAlt, [GPSMaxSpd] = @GPSMaxSpd, [GPSBestLat] = @GPSBestLat," +
         " [GPSBestLon] = @GPSBestLon, [GPSBestAlt] = @GPSBestAlt, [Datasize] = @Datasize," +
         " [IPType] = @IPType, [IP] = @IP WHERE (((@IsNull_oui = 1 AND [oui] IS NULL) OR (" +
         "[oui] = @Original_oui)) AND ((@IsNull_totalpacketsweak = 1 AND [totalpacketsweak" +
         "] IS NULL) OR ([totalpacketsweak] = @Original_totalpacketsweak)) AND ((@IsNull_t" +
         "otalpacketstotal = 1 AND [totalpacketstotal] IS NULL) OR ([totalpacketstotal] = " +
         "@Original_totalpacketstotal)) AND ((@IsNull_totalpacketsllc = 1 AND [totalpacket" +
         "sllc] IS NULL) OR ([totalpacketsllc] = @Original_totalpacketsllc)) AND ((@IsNull" +
         "_totalpacketsdupeiv = 1 AND [totalpacketsdupeiv] IS NULL) OR ([totalpacketsdupei" +
         "v] = @Original_totalpacketsdupeiv)) AND ((@IsNull_totalpacketsdata = 1 AND [tota" +
         "lpacketsdata] IS NULL) OR ([totalpacketsdata] = @Original_totalpacketsdata)) AND" +
         " ((@IsNull_totalpacketscrypt = 1 AND [totalpacketscrypt] IS NULL) OR ([totalpack" +
         "etscrypt] = @Original_totalpacketscrypt)) AND ((@IsNull_Network = 1 AND [Network" +
         "] IS NULL) OR ([Network] = @Original_Network)) AND ((@IsNull_NetType = 1 AND [Ne" +
         "tType] IS NULL) OR ([NetType] = @Original_NetType)) AND ((@IsNull_ESSID = 1 AND " +
         "[ESSID] IS NULL) OR ([ESSID] = @Original_ESSID)) AND ([BSSID] = @Original_BSSID)" +
         " AND ((@IsNull_Info = 1 AND [Info] IS NULL) OR ([Info] = @Original_Info)) AND ((" +
         "@IsNull_Channel = 1 AND [Channel] IS NULL) OR ([Channel] = @Original_Channel)) A" +
         "ND ((@IsNull_Cloaked = 1 AND [Cloaked] IS NULL) OR ([Cloaked] = @Original_Cloake" +
         "d)) AND ((@IsNull_Encryption = 1 AND [Encryption] IS NULL) OR ([Encryption] = @O" +
         "riginal_Encryption)) AND ((@IsNull_Decrypted = 1 AND [Decrypted] IS NULL) OR ([D" +
         "ecrypted] = @Original_Decrypted)) AND ((@IsNull_MaxRate = 1 AND [MaxRate] IS NUL" +
         "L) OR ([MaxRate] = @Original_MaxRate)) AND ((@IsNull_MaxSeenRate = 1 AND [MaxSee" +
         "nRate] IS NULL) OR ([MaxSeenRate] = @Original_MaxSeenRate)) AND ((@IsNull_Beacon" +
         " = 1 AND [Beacon] IS NULL) OR ([Beacon] = @Original_Beacon)) AND ((@IsNull_LLC =" +
         " 1 AND [LLC] IS NULL) OR ([LLC] = @Original_LLC)) AND ((@IsNull_Data = 1 AND [Da" +
         "ta] IS NULL) OR ([Data] = @Original_Data)) AND ((@IsNull_Crypt = 1 AND [Crypt] I" +
         "S NULL) OR ([Crypt] = @Original_Crypt)) AND ((@IsNull_Weak = 1 AND [Weak] IS NUL" +
         "L) OR ([Weak] = @Original_Weak)) AND ((@IsNull_Total = 1 AND [Total] IS NULL) OR" +
         " ([Total] = @Original_Total)) AND ((@IsNull_Carrier = 1 AND [Carrier] IS NULL) O" +
         "R ([Carrier] = @Original_Carrier)) AND ((@IsNull_Encoding = 1 AND [Encoding] IS " +
         "NULL) OR ([Encoding] = @Original_Encoding)) AND ((@IsNull_FirstTime = 1 AND [Fir" +
         "stTime] IS NULL) OR ([FirstTime] = @Original_FirstTime)) AND ((@IsNull_LastTime " +
         "= 1 AND [LastTime] IS NULL) OR ([LastTime] = @Original_LastTime)) AND ((@IsNull_" +
         "BestQuality = 1 AND [BestQuality] IS NULL) OR ([BestQuality] = @Original_BestQua" +
         "lity)) AND ((@IsNull_BestSignal = 1 AND [BestSignal] IS NULL) OR ([BestSignal] =" +
         " @Original_BestSignal)) AND ((@IsNull_BestNoise = 1 AND [BestNoise] IS NULL) OR " +
         "([BestNoise] = @Original_BestNoise)) AND ((@IsNull_GPSMinLat = 1 AND [GPSMinLat]" +
         " IS NULL) OR ([GPSMinLat] = @Original_GPSMinLat)) AND ((@IsNull_GPSMinLon = 1 AN" +
         "D [GPSMinLon] IS NULL) OR ([GPSMinLon] = @Original_GPSMinLon)) AND ((@IsNull_GPS" +
         "MinAlt = 1 AND [GPSMinAlt] IS NULL) OR ([GPSMinAlt] = @Original_GPSMinAlt)) AND " +
         "((@IsNull_GPSMinSpd = 1 AND [GPSMinSpd] IS NULL) OR ([GPSMinSpd] = @Original_GPS" +
         "MinSpd)) AND ((@IsNull_GPSMaxLat = 1 AND [GPSMaxLat] IS NULL) OR ([GPSMaxLat] = " +
         "@Original_GPSMaxLat)) AND ((@IsNull_GPSMaxLon = 1 AND [GPSMaxLon] IS NULL) OR ([" +
         "GPSMaxLon] = @Original_GPSMaxLon)) AND ((@IsNull_GPSMaxAlt = 1 AND [GPSMaxAlt] I" +
         "S NULL) OR ([GPSMaxAlt] = @Original_GPSMaxAlt)) AND ((@IsNull_GPSMaxSpd = 1 AND " +
         "[GPSMaxSpd] IS NULL) OR ([GPSMaxSpd] = @Original_GPSMaxSpd)) AND ((@IsNull_GPSBe" +
         "stLat = 1 AND [GPSBestLat] IS NULL) OR ([GPSBestLat] = @Original_GPSBestLat)) AN" +
         "D ((@IsNull_GPSBestLon = 1 AND [GPSBestLon] IS NULL) OR ([GPSBestLon] = @Origina" +
         "l_GPSBestLon)) AND ((@IsNull_GPSBestAlt = 1 AND [GPSBestAlt] IS NULL) OR ([GPSBe" +
         "stAlt] = @Original_GPSBestAlt)) AND ((@IsNull_Datasize = 1 AND [Datasize] IS NUL" +
         "L) OR ([Datasize] = @Original_Datasize)) AND ((@IsNull_IPType = 1 AND [IPType] I" +
         "S NULL) OR ([IPType] = @Original_IPType)) AND ((@IsNull_IP = 1 AND [IP] IS NULL)" +
         " OR ([IP] = @Original_IP)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsweak";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketstotal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketstotal";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsllc";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsllc";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsdupeiv";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdupeiv";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdata";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@totalpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketscrypt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Network";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Network";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@NetType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "NetType";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ESSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ESSID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BSSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BSSID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Info";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Info";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Channel";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Channel";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Cloaked";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Cloaked";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Encryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encryption";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Decrypted";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Decrypted";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@MaxRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxRate";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@MaxSeenRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxSeenRate";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Beacon";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Beacon";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LLC";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LLC";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Data";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Data";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Crypt";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Crypt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Weak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Weak";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Total";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Total";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Carrier";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Carrier";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Encoding";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encoding";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@FirstTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstTime";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LastTime";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BestQuality";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BestQuality";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BestSignal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestSignal";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@BestNoise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestNoise";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLat";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLon";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinAlt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMinSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinSpd";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLat";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLon";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxAlt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSMaxSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxSpd";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSBestLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLat";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSBestLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLon";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GPSBestAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestAlt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Datasize";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Datasize";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IPType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IPType";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IP";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IP";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_oui";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsweak";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketstotal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketstotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketstotal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketstotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsllc";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsllc";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsllc";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsllc";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsdupeiv";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsdupeiv";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsdupeiv";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdupeiv";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketsdata";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_totalpacketscrypt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "totalpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_totalpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "totalpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Network";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Network";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Network";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Network";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_NetType";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "NetType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_NetType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "NetType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_ESSID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ESSID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ESSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ESSID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BSSID";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BSSID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Info";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Info";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Info";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Info";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Channel";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Channel";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Channel";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Channel";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Cloaked";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Cloaked";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Cloaked";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Cloaked";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Encryption";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Encryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Encryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Decrypted";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Decrypted";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Decrypted";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Decrypted";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_MaxRate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "MaxRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_MaxRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_MaxSeenRate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "MaxSeenRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_MaxSeenRate";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "MaxSeenRate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Beacon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Beacon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Beacon";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Beacon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_LLC";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "LLC";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LLC";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LLC";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Data";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Data";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Data";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Data";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Crypt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Crypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Crypt";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Crypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Weak";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Weak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Weak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Weak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Total";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Total";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Total";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Total";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Carrier";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Carrier";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Carrier";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Carrier";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Encoding";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Encoding";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Encoding";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Encoding";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_FirstTime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "FirstTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_FirstTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "FirstTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_LastTime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "LastTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastTime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "LastTime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_BestQuality";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "BestQuality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BestQuality";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "BestQuality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_BestSignal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "BestSignal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BestSignal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestSignal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_BestNoise";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "BestNoise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_BestNoise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "BestNoise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinLat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinLon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinAlt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMinSpd";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMinSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMinSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMinSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxLat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxLon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxAlt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSMaxSpd";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSMaxSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSMaxSpd";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSMaxSpd";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSBestLat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSBestLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSBestLat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSBestLon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSBestLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSBestLon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestLon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_GPSBestAlt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "GPSBestAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_GPSBestAlt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GPSBestAlt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Datasize";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Datasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Datasize";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Datasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_IPType";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "IPType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_IPType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IPType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_IP";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "IP";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_IP";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "IP";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 17
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "titles";
     tableMapping.ColumnMappings.Add("title_id", "title_id");
     tableMapping.ColumnMappings.Add("episodes", "episodes");
     tableMapping.ColumnMappings.Add("category", "category");
     tableMapping.ColumnMappings.Add("year", "year");
     tableMapping.ColumnMappings.Add("status", "status");
     tableMapping.ColumnMappings.Add("language", "language");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [titles] WHERE (([title_id] = @Original_title_id) AND ((@IsNull_episodes = 1 AND [episodes] IS NULL) OR ([episodes] = @Original_episodes)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_year = 1 AND [year] IS NULL) OR ([year] = @Original_year)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_language = 1 AND [language] IS NULL) OR ([language] = @Original_language)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_episodes";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "episodes";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_episodes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "episodes";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_category";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "category";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_category";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "category";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_year";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_year";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_status";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "status";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_status";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "status";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_language";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "language";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_language";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "language";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [titles] ([title_id], [episodes], [category], [year], [status], [lang" +
         "uage]) VALUES (@title_id, @episodes, @category, @year, @status, @language)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@episodes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "episodes";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@category";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "category";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@year";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "year";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@status";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "status";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@language";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "language";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [titles] SET [title_id] = @title_id, [episodes] = @episodes, [category] = @category, [year] = @year, [status] = @status, [language] = @language WHERE (([title_id] = @Original_title_id) AND ((@IsNull_episodes = 1 AND [episodes] IS NULL) OR ([episodes] = @Original_episodes)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_year = 1 AND [year] IS NULL) OR ([year] = @Original_year)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_language = 1 AND [language] IS NULL) OR ([language] = @Original_language)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@episodes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "episodes";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@category";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "category";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@year";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "year";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@status";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "status";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@language";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "language";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_title_id";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title_id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_episodes";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "episodes";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_episodes";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "episodes";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_category";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "category";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_category";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "category";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_year";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_year";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "year";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_status";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "status";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_status";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "status";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_language";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "language";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_language";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "language";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "CardListData";
     tableMapping.ColumnMappings.Add("ID", "ID");
     tableMapping.ColumnMappings.Add("CardListID", "CardListID");
     tableMapping.ColumnMappings.Add("CardID", "CardID");
     tableMapping.ColumnMappings.Add("Index", "Index");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [CardListData] WHERE (([ID] = @Original_ID) AND ([CardListID] = @Orig" +
         "inal_CardListID) AND ([CardID] = @Original_CardID) AND ([Index] = @Original_Inde" +
         "x))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardListID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardListID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [CardListData] ([ID], [CardListID], [CardID], [Index]) VALUES (@ID, @" +
         "CardListID, @CardID, @Index)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardListID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardListID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = "UPDATE [CardListData] SET [ID] = @ID, [CardListID] = @CardListID, [CardID] = @Car" +
         "dID, [Index] = @Index WHERE (([ID] = @Original_ID) AND ([CardListID] = @Original" +
         "_CardListID) AND ([CardID] = @Original_CardID) AND ([Index] = @Original_Index))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardListID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardListID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardListID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardListID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Index";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Index";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 19
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "GPSDatanew";
     tableMapping.ColumnMappings.Add("bssid", "bssid");
     tableMapping.ColumnMappings.Add("source", "source");
     tableMapping.ColumnMappings.Add("timesec", "timesec");
     tableMapping.ColumnMappings.Add("timeusec", "timeusec");
     tableMapping.ColumnMappings.Add("lat", "lat");
     tableMapping.ColumnMappings.Add("lon", "lon");
     tableMapping.ColumnMappings.Add("alt", "alt");
     tableMapping.ColumnMappings.Add("speed", "speed");
     tableMapping.ColumnMappings.Add("heading", "heading");
     tableMapping.ColumnMappings.Add("fix", "fix");
     tableMapping.ColumnMappings.Add("signal", "signal");
     tableMapping.ColumnMappings.Add("quality", "quality");
     tableMapping.ColumnMappings.Add("noise", "noise");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [GPSData] WHERE (([bssid] = @Original_bssid) AND ((@IsNull_source = 1 AND [source] IS NULL) OR ([source] = @Original_source)) AND ((@IsNull_timesec = 1 AND [timesec] IS NULL) OR ([timesec] = @Original_timesec)) AND ((@IsNull_timeusec = 1 AND [timeusec] IS NULL) OR ([timeusec] = @Original_timeusec)) AND ((@IsNull_lat = 1 AND [lat] IS NULL) OR ([lat] = @Original_lat)) AND ((@IsNull_lon = 1 AND [lon] IS NULL) OR ([lon] = @Original_lon)) AND ((@IsNull_alt = 1 AND [alt] IS NULL) OR ([alt] = @Original_alt)) AND ((@IsNull_speed = 1 AND [speed] IS NULL) OR ([speed] = @Original_speed)) AND ((@IsNull_heading = 1 AND [heading] IS NULL) OR ([heading] = @Original_heading)) AND ((@IsNull_fix = 1 AND [fix] IS NULL) OR ([fix] = @Original_fix)) AND ((@IsNull_signal = 1 AND [signal] IS NULL) OR ([signal] = @Original_signal)) AND ((@IsNull_quality = 1 AND [quality] IS NULL) OR ([quality] = @Original_quality)) AND ((@IsNull_noise = 1 AND [noise] IS NULL) OR ([noise] = @Original_noise)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_source";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "source";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_source";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "source";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_timesec";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "timesec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_timesec";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "timesec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_timeusec";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "timeusec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_timeusec";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "timeusec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_lat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "lat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_lat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_lon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "lon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_lon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_alt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "alt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_alt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "alt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_speed";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "speed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_speed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "speed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_heading";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "heading";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_heading";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "heading";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_fix";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "fix";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_fix";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "fix";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_signal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "signal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_signal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "signal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_quality";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "quality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_quality";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "quality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_noise";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "noise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_noise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "noise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = @"INSERT INTO [GPSData] ([bssid], [source], [timesec], [timeusec], [lat], [lon], [alt], [speed], [heading], [fix], [signal], [quality], [noise]) VALUES (@bssid, @source, @timesec, @timeusec, @lat, @lon, @alt, @speed, @heading, @fix, @signal, @quality, @noise)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@source";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "source";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@timesec";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "timesec";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@timeusec";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "timeusec";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@lat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lat";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@lon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lon";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@alt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "alt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@speed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "speed";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@heading";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "heading";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@fix";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "fix";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@signal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "signal";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@quality";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "quality";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@noise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "noise";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [GPSData] SET [bssid] = @bssid, [source] = @source, [timesec] = @timesec, [timeusec] = @timeusec, [lat] = @lat, [lon] = @lon, [alt] = @alt, [speed] = @speed, [heading] = @heading, [fix] = @fix, [signal] = @signal, [quality] = @quality, [noise] = @noise WHERE (([bssid] = @Original_bssid) AND ((@IsNull_source = 1 AND [source] IS NULL) OR ([source] = @Original_source)) AND ((@IsNull_timesec = 1 AND [timesec] IS NULL) OR ([timesec] = @Original_timesec)) AND ((@IsNull_timeusec = 1 AND [timeusec] IS NULL) OR ([timeusec] = @Original_timeusec)) AND ((@IsNull_lat = 1 AND [lat] IS NULL) OR ([lat] = @Original_lat)) AND ((@IsNull_lon = 1 AND [lon] IS NULL) OR ([lon] = @Original_lon)) AND ((@IsNull_alt = 1 AND [alt] IS NULL) OR ([alt] = @Original_alt)) AND ((@IsNull_speed = 1 AND [speed] IS NULL) OR ([speed] = @Original_speed)) AND ((@IsNull_heading = 1 AND [heading] IS NULL) OR ([heading] = @Original_heading)) AND ((@IsNull_fix = 1 AND [fix] IS NULL) OR ([fix] = @Original_fix)) AND ((@IsNull_signal = 1 AND [signal] IS NULL) OR ([signal] = @Original_signal)) AND ((@IsNull_quality = 1 AND [quality] IS NULL) OR ([quality] = @Original_quality)) AND ((@IsNull_noise = 1 AND [noise] IS NULL) OR ([noise] = @Original_noise)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@source";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "source";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@timesec";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "timesec";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@timeusec";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "timeusec";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@lat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lat";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@lon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lon";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@alt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "alt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@speed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "speed";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@heading";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "heading";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@fix";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "fix";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@signal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "signal";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@quality";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "quality";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@noise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "noise";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_source";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "source";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_source";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "source";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_timesec";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "timesec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_timesec";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "timesec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_timeusec";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "timeusec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_timeusec";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "timeusec";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_lat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "lat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_lat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_lon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "lon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_lon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "lon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_alt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "alt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_alt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "alt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_speed";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "speed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_speed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "speed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_heading";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "heading";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_heading";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "heading";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_fix";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "fix";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_fix";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "fix";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_signal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "signal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_signal";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "signal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_quality";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "quality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_quality";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "quality";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_noise";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "noise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_noise";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "noise";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "SoundClip";
     tableMapping.ColumnMappings.Add("ID", "ID");
     tableMapping.ColumnMappings.Add("Name", "Name");
     tableMapping.ColumnMappings.Add("SoundClip", "SoundClip");
     tableMapping.ColumnMappings.Add("DateCreated", "DateCreated");
     tableMapping.ColumnMappings.Add("LastModified", "LastModified");
     tableMapping.ColumnMappings.Add("CardID", "CardID");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [SoundClip] WHERE (([ID] = @Original_ID) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_SoundClip = 1 AND [SoundClip] IS NULL) OR ([SoundClip] = @Original_SoundClip)) AND ([DateCreated] = @Original_DateCreated) AND ([LastModified] = @Original_LastModified) AND ([CardID] = @Original_CardID))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Name";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_SoundClip";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "SoundClip";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_SoundClip";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "SoundClip";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [SoundClip] ([ID], [Name], [SoundClip], [DateCreated], [LastModified]" +
         ", [CardID]) VALUES (@ID, @Name, @SoundClip, @DateCreated, @LastModified, @CardID" +
         ")";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SoundClip";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "SoundClip";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [SoundClip] SET [ID] = @ID, [Name] = @Name, [SoundClip] = @SoundClip, [DateCreated] = @DateCreated, [LastModified] = @LastModified, [CardID] = @CardID WHERE (([ID] = @Original_ID) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_SoundClip = 1 AND [SoundClip] IS NULL) OR ([SoundClip] = @Original_SoundClip)) AND ([DateCreated] = @Original_DateCreated) AND ([LastModified] = @Original_LastModified) AND ([CardID] = @Original_CardID))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SoundClip";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "SoundClip";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Name";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Name";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Name";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_SoundClip";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "SoundClip";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_SoundClip";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "SoundClip";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_LastModified";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "LastModified";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 21
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "Clients";
     tableMapping.ColumnMappings.Add("Clientipaddress", "Clientipaddress");
     tableMapping.ColumnMappings.Add("oui", "oui");
     tableMapping.ColumnMappings.Add("bssid", "bssid");
     tableMapping.ColumnMappings.Add("clientmac", "clientmac");
     tableMapping.ColumnMappings.Add("clientencryption", "clientencryption");
     tableMapping.ColumnMappings.Add("clientfirsttime", "clientfirsttime");
     tableMapping.ColumnMappings.Add("clientgpsminlat", "clientgpsminlat");
     tableMapping.ColumnMappings.Add("clientgpsminlon", "clientgpsminlon");
     tableMapping.ColumnMappings.Add("clientgpsmaxlat", "clientgpsmaxlat");
     tableMapping.ColumnMappings.Add("clientgpsmaxlon", "clientgpsmaxlon");
     tableMapping.ColumnMappings.Add("clientgpsminalt", "clientgpsminalt");
     tableMapping.ColumnMappings.Add("clientgpsmaxalt", "clientgpsmaxalt");
     tableMapping.ColumnMappings.Add("clientgpsminspeed", "clientgpsminspeed");
     tableMapping.ColumnMappings.Add("clientgpsmaxspeed", "clientgpsmaxspeed");
     tableMapping.ColumnMappings.Add("clientdatasize", "clientdatasize");
     tableMapping.ColumnMappings.Add("clientmaxrate", "clientmaxrate");
     tableMapping.ColumnMappings.Add("clientmaxseenrate", "clientmaxseenrate");
     tableMapping.ColumnMappings.Add("clientlasttime", "clientlasttime");
     tableMapping.ColumnMappings.Add("clientpacketscrypt", "clientpacketscrypt");
     tableMapping.ColumnMappings.Add("clientpacketsdata", "clientpacketsdata");
     tableMapping.ColumnMappings.Add("clientpacketsweak", "clientpacketsweak");
     tableMapping.ColumnMappings.Add("Number", "Number");
     tableMapping.ColumnMappings.Add("Type", "Type");
     tableMapping.ColumnMappings.Add("wep", "wep");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [Clients] WHERE (((@IsNull_Clientipaddress = 1 AND [Clientipaddress] " +
         "IS NULL) OR ([Clientipaddress] = @Original_Clientipaddress)) AND ((@IsNull_oui =" +
         " 1 AND [oui] IS NULL) OR ([oui] = @Original_oui)) AND ([bssid] = @Original_bssid" +
         ") AND ([clientmac] = @Original_clientmac) AND ((@IsNull_clientencryption = 1 AND" +
         " [clientencryption] IS NULL) OR ([clientencryption] = @Original_clientencryption" +
         ")) AND ((@IsNull_clientfirsttime = 1 AND [clientfirsttime] IS NULL) OR ([clientf" +
         "irsttime] = @Original_clientfirsttime)) AND ((@IsNull_clientgpsminlat = 1 AND [c" +
         "lientgpsminlat] IS NULL) OR ([clientgpsminlat] = @Original_clientgpsminlat)) AND" +
         " ((@IsNull_clientgpsminlon = 1 AND [clientgpsminlon] IS NULL) OR ([clientgpsminl" +
         "on] = @Original_clientgpsminlon)) AND ((@IsNull_clientgpsmaxlat = 1 AND [clientg" +
         "psmaxlat] IS NULL) OR ([clientgpsmaxlat] = @Original_clientgpsmaxlat)) AND ((@Is" +
         "Null_clientgpsmaxlon = 1 AND [clientgpsmaxlon] IS NULL) OR ([clientgpsmaxlon] = " +
         "@Original_clientgpsmaxlon)) AND ((@IsNull_clientgpsminalt = 1 AND [clientgpsmina" +
         "lt] IS NULL) OR ([clientgpsminalt] = @Original_clientgpsminalt)) AND ((@IsNull_c" +
         "lientgpsmaxalt = 1 AND [clientgpsmaxalt] IS NULL) OR ([clientgpsmaxalt] = @Origi" +
         "nal_clientgpsmaxalt)) AND ((@IsNull_clientgpsminspeed = 1 AND [clientgpsminspeed" +
         "] IS NULL) OR ([clientgpsminspeed] = @Original_clientgpsminspeed)) AND ((@IsNull" +
         "_clientgpsmaxspeed = 1 AND [clientgpsmaxspeed] IS NULL) OR ([clientgpsmaxspeed] " +
         "= @Original_clientgpsmaxspeed)) AND ((@IsNull_clientdatasize = 1 AND [clientdata" +
         "size] IS NULL) OR ([clientdatasize] = @Original_clientdatasize)) AND ((@IsNull_c" +
         "lientmaxrate = 1 AND [clientmaxrate] IS NULL) OR ([clientmaxrate] = @Original_cl" +
         "ientmaxrate)) AND ((@IsNull_clientmaxseenrate = 1 AND [clientmaxseenrate] IS NUL" +
         "L) OR ([clientmaxseenrate] = @Original_clientmaxseenrate)) AND ((@IsNull_clientl" +
         "asttime = 1 AND [clientlasttime] IS NULL) OR ([clientlasttime] = @Original_clien" +
         "tlasttime)) AND ((@IsNull_clientpacketscrypt = 1 AND [clientpacketscrypt] IS NUL" +
         "L) OR ([clientpacketscrypt] = @Original_clientpacketscrypt)) AND ((@IsNull_clien" +
         "tpacketsdata = 1 AND [clientpacketsdata] IS NULL) OR ([clientpacketsdata] = @Ori" +
         "ginal_clientpacketsdata)) AND ((@IsNull_clientpacketsweak = 1 AND [clientpackets" +
         "weak] IS NULL) OR ([clientpacketsweak] = @Original_clientpacketsweak)) AND ((@Is" +
         "Null_Number = 1 AND [Number] IS NULL) OR ([Number] = @Original_Number)) AND ((@I" +
         "sNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)) AND ((@IsNull_w" +
         "ep = 1 AND [wep] IS NULL) OR ([wep] = @Original_wep)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Clientipaddress";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Clientipaddress";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Clientipaddress";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Clientipaddress";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_oui";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientmac";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmac";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientencryption";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientencryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientencryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientencryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientfirsttime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientfirsttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientfirsttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientfirsttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminlat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminlon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxlat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxlon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminalt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxalt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminspeed";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxspeed";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientdatasize";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientdatasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientdatasize";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientdatasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientmaxrate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientmaxrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientmaxrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientmaxseenrate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientmaxseenrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientmaxseenrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxseenrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientlasttime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientlasttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientlasttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientlasttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientpacketscrypt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientpacketsdata";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientpacketsweak";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Number";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Type";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Type";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Type";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Type";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_wep";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "wep";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_wep";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "wep";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = @"INSERT INTO [Clients] ([Clientipaddress], [oui], [bssid], [clientmac], [clientencryption], [clientfirsttime], [clientgpsminlat], [clientgpsminlon], [clientgpsmaxlat], [clientgpsmaxlon], [clientgpsminalt], [clientgpsmaxalt], [clientgpsminspeed], [clientgpsmaxspeed], [clientdatasize], [clientmaxrate], [clientmaxseenrate], [clientlasttime], [clientpacketscrypt], [clientpacketsdata], [clientpacketsweak], [Number], [Type], [wep]) VALUES (@Clientipaddress, @oui, @bssid, @clientmac, @clientencryption, @clientfirsttime, @clientgpsminlat, @clientgpsminlon, @clientgpsmaxlat, @clientgpsmaxlon, @clientgpsminalt, @clientgpsmaxalt, @clientgpsminspeed, @clientgpsmaxspeed, @clientdatasize, @clientmaxrate, @clientmaxseenrate, @clientlasttime, @clientpacketscrypt, @clientpacketsdata, @clientpacketsweak, @Number, @Type, @wep)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Clientipaddress";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Clientipaddress";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientmac";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmac";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientencryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientencryption";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientfirsttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientfirsttime";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlat";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlon";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlat";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlon";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminalt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxalt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminspeed";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxspeed";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientdatasize";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientdatasize";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientmaxrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxrate";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientmaxseenrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxseenrate";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientlasttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientlasttime";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketscrypt";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsdata";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsweak";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Number";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Type";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Type";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@wep";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "wep";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = "UPDATE [Clients] SET [Clientipaddress] = @Clientipaddress, [oui] = @oui, [bssid] " +
         "= @bssid, [clientmac] = @clientmac, [clientencryption] = @clientencryption, [cli" +
         "entfirsttime] = @clientfirsttime, [clientgpsminlat] = @clientgpsminlat, [clientg" +
         "psminlon] = @clientgpsminlon, [clientgpsmaxlat] = @clientgpsmaxlat, [clientgpsma" +
         "xlon] = @clientgpsmaxlon, [clientgpsminalt] = @clientgpsminalt, [clientgpsmaxalt" +
         "] = @clientgpsmaxalt, [clientgpsminspeed] = @clientgpsminspeed, [clientgpsmaxspe" +
         "ed] = @clientgpsmaxspeed, [clientdatasize] = @clientdatasize, [clientmaxrate] = " +
         "@clientmaxrate, [clientmaxseenrate] = @clientmaxseenrate, [clientlasttime] = @cl" +
         "ientlasttime, [clientpacketscrypt] = @clientpacketscrypt, [clientpacketsdata] = " +
         "@clientpacketsdata, [clientpacketsweak] = @clientpacketsweak, [Number] = @Number" +
         ", [Type] = @Type, [wep] = @wep WHERE (((@IsNull_Clientipaddress = 1 AND [Clienti" +
         "paddress] IS NULL) OR ([Clientipaddress] = @Original_Clientipaddress)) AND ((@Is" +
         "Null_oui = 1 AND [oui] IS NULL) OR ([oui] = @Original_oui)) AND ([bssid] = @Orig" +
         "inal_bssid) AND ([clientmac] = @Original_clientmac) AND ((@IsNull_clientencrypti" +
         "on = 1 AND [clientencryption] IS NULL) OR ([clientencryption] = @Original_client" +
         "encryption)) AND ((@IsNull_clientfirsttime = 1 AND [clientfirsttime] IS NULL) OR" +
         " ([clientfirsttime] = @Original_clientfirsttime)) AND ((@IsNull_clientgpsminlat " +
         "= 1 AND [clientgpsminlat] IS NULL) OR ([clientgpsminlat] = @Original_clientgpsmi" +
         "nlat)) AND ((@IsNull_clientgpsminlon = 1 AND [clientgpsminlon] IS NULL) OR ([cli" +
         "entgpsminlon] = @Original_clientgpsminlon)) AND ((@IsNull_clientgpsmaxlat = 1 AN" +
         "D [clientgpsmaxlat] IS NULL) OR ([clientgpsmaxlat] = @Original_clientgpsmaxlat))" +
         " AND ((@IsNull_clientgpsmaxlon = 1 AND [clientgpsmaxlon] IS NULL) OR ([clientgps" +
         "maxlon] = @Original_clientgpsmaxlon)) AND ((@IsNull_clientgpsminalt = 1 AND [cli" +
         "entgpsminalt] IS NULL) OR ([clientgpsminalt] = @Original_clientgpsminalt)) AND (" +
         "(@IsNull_clientgpsmaxalt = 1 AND [clientgpsmaxalt] IS NULL) OR ([clientgpsmaxalt" +
         "] = @Original_clientgpsmaxalt)) AND ((@IsNull_clientgpsminspeed = 1 AND [clientg" +
         "psminspeed] IS NULL) OR ([clientgpsminspeed] = @Original_clientgpsminspeed)) AND" +
         " ((@IsNull_clientgpsmaxspeed = 1 AND [clientgpsmaxspeed] IS NULL) OR ([clientgps" +
         "maxspeed] = @Original_clientgpsmaxspeed)) AND ((@IsNull_clientdatasize = 1 AND [" +
         "clientdatasize] IS NULL) OR ([clientdatasize] = @Original_clientdatasize)) AND (" +
         "(@IsNull_clientmaxrate = 1 AND [clientmaxrate] IS NULL) OR ([clientmaxrate] = @O" +
         "riginal_clientmaxrate)) AND ((@IsNull_clientmaxseenrate = 1 AND [clientmaxseenra" +
         "te] IS NULL) OR ([clientmaxseenrate] = @Original_clientmaxseenrate)) AND ((@IsNu" +
         "ll_clientlasttime = 1 AND [clientlasttime] IS NULL) OR ([clientlasttime] = @Orig" +
         "inal_clientlasttime)) AND ((@IsNull_clientpacketscrypt = 1 AND [clientpacketscry" +
         "pt] IS NULL) OR ([clientpacketscrypt] = @Original_clientpacketscrypt)) AND ((@Is" +
         "Null_clientpacketsdata = 1 AND [clientpacketsdata] IS NULL) OR ([clientpacketsda" +
         "ta] = @Original_clientpacketsdata)) AND ((@IsNull_clientpacketsweak = 1 AND [cli" +
         "entpacketsweak] IS NULL) OR ([clientpacketsweak] = @Original_clientpacketsweak))" +
         " AND ((@IsNull_Number = 1 AND [Number] IS NULL) OR ([Number] = @Original_Number)" +
         ") AND ((@IsNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)) AND (" +
         "(@IsNull_wep = 1 AND [wep] IS NULL) OR ([wep] = @Original_wep)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Clientipaddress";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Clientipaddress";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientmac";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmac";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientencryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientencryption";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientfirsttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientfirsttime";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlat";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlon";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlat";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlon";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminalt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxalt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsminspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminspeed";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientgpsmaxspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxspeed";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientdatasize";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientdatasize";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientmaxrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxrate";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientmaxseenrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxseenrate";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientlasttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientlasttime";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketscrypt";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsdata";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsweak";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Number";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Type";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Type";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@wep";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "wep";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Clientipaddress";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Clientipaddress";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Clientipaddress";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Clientipaddress";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_oui";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_oui";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "oui";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_bssid";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "bssid";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientmac";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmac";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientencryption";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientencryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientencryption";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientencryption";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientfirsttime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientfirsttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientfirsttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientfirsttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminlat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminlon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxlat";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxlat";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlat";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxlon";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxlon";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxlon";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminalt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxalt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxalt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxalt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsminspeed";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsminspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsminspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsminspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientgpsmaxspeed";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientgpsmaxspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientgpsmaxspeed";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientgpsmaxspeed";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientdatasize";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientdatasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientdatasize";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientdatasize";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientmaxrate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientmaxrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientmaxrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientmaxseenrate";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientmaxseenrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientmaxseenrate";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientmaxseenrate";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientlasttime";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientlasttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientlasttime";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "clientlasttime";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientpacketscrypt";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientpacketscrypt";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketscrypt";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientpacketsdata";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientpacketsdata";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsdata";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientpacketsweak";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientpacketsweak";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "clientpacketsweak";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Number";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Number";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Number";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Type";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Type";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Type";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "Type";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_wep";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "wep";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_wep";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "wep";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "Picture";
     tableMapping.ColumnMappings.Add("ID", "ID");
     tableMapping.ColumnMappings.Add("SearchText", "SearchText");
     tableMapping.ColumnMappings.Add("Image", "Image");
     tableMapping.ColumnMappings.Add("ImageType", "ImageType");
     tableMapping.ColumnMappings.Add("DateCreated", "DateCreated");
     tableMapping.ColumnMappings.Add("CardID", "CardID");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Picture] WHERE (([ID] = @Original_ID) AND ((@IsNull_SearchText = 1 AND [SearchText] IS NULL) OR ([SearchText] = @Original_SearchText)) AND ((@IsNull_Image = 1 AND [Image] IS NULL) OR ([Image] = @Original_Image)) AND ((@IsNull_ImageType = 1 AND [ImageType] IS NULL) OR ([ImageType] = @Original_ImageType)) AND ((@IsNull_DateCreated = 1 AND [DateCreated] IS NULL) OR ([DateCreated] = @Original_DateCreated)) AND ([CardID] = @Original_CardID))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_SearchText";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "SearchText";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_SearchText";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SearchText";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Image";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Image";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Image";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "Image";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_ImageType";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ImageType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ImageType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ImageType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_DateCreated";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [Picture] ([ID], [SearchText], [Image], [ImageType], [DateCreated], [" +
         "CardID]) VALUES (@ID, @SearchText, @Image, @ImageType, @DateCreated, @CardID)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SearchText";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SearchText";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Image";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "Image";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ImageType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ImageType";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [Picture] SET [ID] = @ID, [SearchText] = @SearchText, [Image] = @Image, [ImageType] = @ImageType, [DateCreated] = @DateCreated, [CardID] = @CardID WHERE (([ID] = @Original_ID) AND ((@IsNull_SearchText = 1 AND [SearchText] IS NULL) OR ([SearchText] = @Original_SearchText)) AND ((@IsNull_Image = 1 AND [Image] IS NULL) OR ([Image] = @Original_Image)) AND ((@IsNull_ImageType = 1 AND [ImageType] IS NULL) OR ([ImageType] = @Original_ImageType)) AND ((@IsNull_DateCreated = 1 AND [DateCreated] IS NULL) OR ([DateCreated] = @Original_DateCreated)) AND ([CardID] = @Original_CardID))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SearchText";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SearchText";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Image";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "Image";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@ImageType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ImageType";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_SearchText";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "SearchText";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_SearchText";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "SearchText";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_Image";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "Image";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_Image";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "Image";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_ImageType";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "ImageType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_ImageType";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "ImageType";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_DateCreated";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_DateCreated";
     param.DbType = global::System.Data.DbType.DateTime;
     param.DbType = global::System.Data.DbType.DateTime;
     param.SourceColumn = "DateCreated";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_CardID";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "CardID";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 23
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "stats";
     tableMapping.ColumnMappings.Add("filename", "filename");
     tableMapping.ColumnMappings.Add("nettotal", "nettotal");
     tableMapping.ColumnMappings.Add("netnew", "netnew");
     tableMapping.ColumnMappings.Add("netseen", "netseen");
     tableMapping.ColumnMappings.Add("clienttotal", "clienttotal");
     tableMapping.ColumnMappings.Add("clientsnew", "clientsnew");
     tableMapping.ColumnMappings.Add("clientsseen", "clientsseen");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = @"DELETE FROM [stats] WHERE (([filename] = @Original_filename) AND ((@IsNull_nettotal = 1 AND [nettotal] IS NULL) OR ([nettotal] = @Original_nettotal)) AND ((@IsNull_netnew = 1 AND [netnew] IS NULL) OR ([netnew] = @Original_netnew)) AND ((@IsNull_netseen = 1 AND [netseen] IS NULL) OR ([netseen] = @Original_netseen)) AND ((@IsNull_clienttotal = 1 AND [clienttotal] IS NULL) OR ([clienttotal] = @Original_clienttotal)) AND ((@IsNull_clientsnew = 1 AND [clientsnew] IS NULL) OR ([clientsnew] = @Original_clientsnew)) AND ((@IsNull_clientsseen = 1 AND [clientsseen] IS NULL) OR ([clientsseen] = @Original_clientsseen)))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_nettotal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "nettotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_nettotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "nettotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_netnew";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "netnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_netnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_netseen";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "netseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_netseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clienttotal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clienttotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clienttotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clienttotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientsnew";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientsnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientsnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientsseen";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientsseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientsseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [stats] ([filename], [nettotal], [netnew], [netseen], [clienttotal], " +
         "[clientsnew], [clientsseen]) VALUES (@filename, @nettotal, @netnew, @netseen, @c" +
         "lienttotal, @clientsnew, @clientsseen)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@nettotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "nettotal";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@netnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netnew";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@netseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netseen";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clienttotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clienttotal";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientsnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsnew";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientsseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsseen";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = @"UPDATE [stats] SET [filename] = @filename, [nettotal] = @nettotal, [netnew] = @netnew, [netseen] = @netseen, [clienttotal] = @clienttotal, [clientsnew] = @clientsnew, [clientsseen] = @clientsseen WHERE (([filename] = @Original_filename) AND ((@IsNull_nettotal = 1 AND [nettotal] IS NULL) OR ([nettotal] = @Original_nettotal)) AND ((@IsNull_netnew = 1 AND [netnew] IS NULL) OR ([netnew] = @Original_netnew)) AND ((@IsNull_netseen = 1 AND [netseen] IS NULL) OR ([netseen] = @Original_netseen)) AND ((@IsNull_clienttotal = 1 AND [clienttotal] IS NULL) OR ([clienttotal] = @Original_clienttotal)) AND ((@IsNull_clientsnew = 1 AND [clientsnew] IS NULL) OR ([clientsnew] = @Original_clientsnew)) AND ((@IsNull_clientsseen = 1 AND [clientsseen] IS NULL) OR ([clientsseen] = @Original_clientsseen)))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@nettotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "nettotal";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@netnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netnew";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@netseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netseen";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clienttotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clienttotal";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientsnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsnew";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@clientsseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsseen";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_filename";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "filename";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_nettotal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "nettotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_nettotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "nettotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_netnew";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "netnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_netnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_netseen";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "netseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_netseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "netseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clienttotal";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clienttotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clienttotal";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clienttotal";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientsnew";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientsnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientsnew";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsnew";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@IsNull_clientsseen";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "clientsseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     param.SourceColumnNullMapping = true;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_clientsseen";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "clientsseen";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "songs";
     tableMapping.ColumnMappings.Add("id", "id");
     tableMapping.ColumnMappings.Add("title", "title");
     tableMapping.ColumnMappings.Add("artist", "artist");
     tableMapping.ColumnMappings.Add("fingerprint", "fingerprint");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.DeleteCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.DeleteCommand.Connection = this.Connection;
     this._adapter.DeleteCommand.CommandText = "DELETE FROM [songs] WHERE (([id] = @Original_id) AND ([title] = @Original_title) " +
         "AND ([artist] = @Original_artist) AND ([fingerprint] = @Original_fingerprint))";
     this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_id";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_title";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_artist";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "artist";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_fingerprint";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "fingerprint";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.DeleteCommand.Parameters.Add(param);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = "INSERT INTO [songs] ([id], [title], [artist], [fingerprint]) VALUES (@id, @title," +
         " @artist, @fingerprint)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@id";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "id";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@title";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@artist";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "artist";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@fingerprint";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "fingerprint";
     this._adapter.InsertCommand.Parameters.Add(param);
     this._adapter.UpdateCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.UpdateCommand.Connection = this.Connection;
     this._adapter.UpdateCommand.CommandText = "UPDATE [songs] SET [id] = @id, [title] = @title, [artist] = @artist, [fingerprint" +
         "] = @fingerprint WHERE (([id] = @Original_id) AND ([title] = @Original_title) AN" +
         "D ([artist] = @Original_artist) AND ([fingerprint] = @Original_fingerprint))";
     this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@id";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "id";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@title";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@artist";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "artist";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@fingerprint";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "fingerprint";
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_id";
     param.DbType = global::System.Data.DbType.Int32;
     param.DbType = global::System.Data.DbType.Int32;
     param.SourceColumn = "id";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_title";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "title";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_artist";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "artist";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Original_fingerprint";
     param.DbType = global::System.Data.DbType.Binary;
     param.DbType = global::System.Data.DbType.Binary;
     param.SourceColumn = "fingerprint";
     param.SourceVersion = global::System.Data.DataRowVersion.Original;
     this._adapter.UpdateCommand.Parameters.Add(param);
 }
Exemplo n.º 25
0
 private void InitAdapter() {
     this._adapter = new global::System.Data.SQLite.SQLiteDataAdapter();
     global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
     tableMapping.SourceTable = "Table";
     tableMapping.DataSetTable = "goaliestats";
     tableMapping.ColumnMappings.Add("GoalieName", "GoalieName");
     tableMapping.ColumnMappings.Add("GP", "GP");
     tableMapping.ColumnMappings.Add("Wins", "Wins");
     tableMapping.ColumnMappings.Add("Losses", "Losses");
     tableMapping.ColumnMappings.Add("Ties", "Ties");
     tableMapping.ColumnMappings.Add("OT Wins", "OT Wins");
     tableMapping.ColumnMappings.Add("OT Losses", "OT Losses");
     tableMapping.ColumnMappings.Add("OT Ties", "OT Ties");
     tableMapping.ColumnMappings.Add("Shutouts", "Shutouts");
     tableMapping.ColumnMappings.Add("SA", "SA");
     tableMapping.ColumnMappings.Add("SA - ES", "SA - ES");
     tableMapping.ColumnMappings.Add("SA - PP", "SA - PP");
     tableMapping.ColumnMappings.Add("SA - SH", "SA - SH");
     tableMapping.ColumnMappings.Add("SA - PS", "SA - PS");
     tableMapping.ColumnMappings.Add("SA Per Game", "SA Per Game");
     tableMapping.ColumnMappings.Add("Saves", "Saves");
     tableMapping.ColumnMappings.Add("Saves - ES", "Saves - ES");
     tableMapping.ColumnMappings.Add("Saves - PP", "Saves - PP");
     tableMapping.ColumnMappings.Add("Saves - SH", "Saves - SH");
     tableMapping.ColumnMappings.Add("Saves - PS", "Saves - PS");
     tableMapping.ColumnMappings.Add("Saves Per Game", "Saves Per Game");
     tableMapping.ColumnMappings.Add("GA", "GA");
     tableMapping.ColumnMappings.Add("GA - ES", "GA - ES");
     tableMapping.ColumnMappings.Add("GA - PP", "GA - PP");
     tableMapping.ColumnMappings.Add("GA - SH", "GA - SH");
     tableMapping.ColumnMappings.Add("GA - PS", "GA - PS");
     tableMapping.ColumnMappings.Add("GA Per Game", "GA Per Game");
     tableMapping.ColumnMappings.Add("Save %age", "Save %age");
     tableMapping.ColumnMappings.Add("Save %age - ES", "Save %age - ES");
     tableMapping.ColumnMappings.Add("Save %age - PP", "Save %age - PP");
     tableMapping.ColumnMappings.Add("Save %age - SH", "Save %age - SH");
     tableMapping.ColumnMappings.Add("Save %age - PS", "Save %age - PS");
     tableMapping.ColumnMappings.Add("Goals", "Goals");
     tableMapping.ColumnMappings.Add("Assists", "Assists");
     tableMapping.ColumnMappings.Add("Points", "Points");
     tableMapping.ColumnMappings.Add("Penalties", "Penalties");
     tableMapping.ColumnMappings.Add("PIM", "PIM");
     tableMapping.ColumnMappings.Add("TOI", "TOI");
     tableMapping.ColumnMappings.Add("Season_ID", "Season_ID");
     this._adapter.TableMappings.Add(tableMapping);
     this._adapter.InsertCommand = new global::System.Data.SQLite.SQLiteCommand();
     this._adapter.InsertCommand.Connection = this.Connection;
     this._adapter.InsertCommand.CommandText = @"INSERT INTO [goaliestats] ([Season_ID], [GoalieName], [GP], [Wins], [Losses], [Ties], [OT Wins], [OT Losses], [OT Ties], [Shutouts], [SA], [SA - ES], [SA - PP], [SA - SH], [SA - PS], [SA Per Game], [Saves], [Saves - ES], [Saves - PP], [Saves - SH], [Saves - PS], [Saves Per Game], [GA], [GA - ES], [GA - PP], [GA - SH], [GA - PS], [GA Per Game], [Save %age], [Save %age - ES], [Save %age - PP], [Save %age - SH], [Save %age - PS], [Goals], [Assists], [Points], [Penalties], [PIM], [TOI]) VALUES (@Season_ID, @GoalieName, @GP, @Wins, @Losses, @Ties, @OT_Wins, @OT_Losses, @OT_Ties, @Shutouts, @SA, @param1, @param4, @param7, @param10, @SA_Per_Game, @Saves, @param13, @param16, @param19, @param22, @Saves_Per_Game, @GA, @param25, @param28, @param31, @param34, @GA_Per_Game, @param37, @param40, @param43, @param46, @param49, @Goals, @Assists, @Points, @Penalties, @PIM, @TOI)";
     this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
     global::System.Data.SQLite.SQLiteParameter param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Season_ID";
     param.DbType = global::System.Data.DbType.Int64;
     param.DbType = global::System.Data.DbType.Int64;
     param.SourceColumn = "Season_ID";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GoalieName";
     param.DbType = global::System.Data.DbType.String;
     param.SourceColumn = "GoalieName";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GP";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Wins";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Wins";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Losses";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Losses";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Ties";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Ties";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@OT_Wins";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT Wins";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@OT_Losses";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT Losses";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@OT_Ties";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "OT Ties";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Shutouts";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Shutouts";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SA";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param1";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param4";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param7";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param10";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@SA_Per_Game";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "SA Per Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Saves";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Saves";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param13";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Saves - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param16";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Saves - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param19";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Saves - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param22";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Saves - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Saves_Per_Game";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Saves Per Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GA";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param25";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param28";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param31";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param34";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@GA_Per_Game";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "GA Per Game";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param37";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Save %age";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param40";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Save %age - ES";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param43";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Save %age - PP";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param46";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Save %age - SH";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@param49";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Save %age - PS";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Goals";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Goals";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Assists";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Assists";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Points";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Points";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@Penalties";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "Penalties";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@PIM";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "PIM";
     this._adapter.InsertCommand.Parameters.Add(param);
     param = new global::System.Data.SQLite.SQLiteParameter();
     param.ParameterName = "@TOI";
     param.DbType = global::System.Data.DbType.Decimal;
     param.DbType = global::System.Data.DbType.Decimal;
     param.SourceColumn = "TOI";
     this._adapter.InsertCommand.Parameters.Add(param);
 }