- Timestamp:
- 01/21/09 18:10:47 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/dsHiveServer.Designer.cs
r1120 r1165 7522 7522 this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); 7523 7523 this._adapter.DeleteCommand.Connection = this.Connection; 7524 this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Job] WHERE (([JobId] = @Original_JobId) AND ((@IsNull_ParentJobId = 1 AND [ParentJobId] IS NULL) OR ([ParentJobId] = @Original_ParentJobId)) AND ((@IsNull_JobState = 1 AND [JobState] IS NULL) OR ([JobState] = @Original_JobState)) AND ((@IsNull_PermissionOwnerId = 1 AND [PermissionOwnerId] IS NULL) OR ([PermissionOwnerId] = @Original_PermissionOwnerId)) AND ((@IsNull_ResourceId = 1 AND [ResourceId] IS NULL) OR ([ResourceId] = @Original_ResourceId)) )";7524 this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Job] WHERE (([JobId] = @Original_JobId) AND ((@IsNull_ParentJobId = 1 AND [ParentJobId] IS NULL) OR ([ParentJobId] = @Original_ParentJobId)) AND ((@IsNull_JobState = 1 AND [JobState] IS NULL) OR ([JobState] = @Original_JobState)) AND ((@IsNull_PermissionOwnerId = 1 AND [PermissionOwnerId] IS NULL) OR ([PermissionOwnerId] = @Original_PermissionOwnerId)) AND ((@IsNull_ResourceId = 1 AND [ResourceId] IS NULL) OR ([ResourceId] = @Original_ResourceId)) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage)))"; 7525 7525 this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; 7526 7526 this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JobId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JobId", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); … … 7533 7533 this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ResourceId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); 7534 7534 this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ResourceId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); 7535 this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Percentage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Percentage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); 7536 this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Percentage", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Percentage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); 7535 7537 this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); 7536 7538 this._adapter.InsertCommand.Connection = this.Connection; 7537 this._adapter.InsertCommand.CommandText = @"INSERT INTO [Job] ([ParentJobId], [JobState], [PermissionOwnerId], [ResourceId], [SerializedJob] ) VALUES (@ParentJobId, @JobState, @PermissionOwnerId, @ResourceId, @SerializedJob);7538 SELECT JobId, ParentJobId, JobState, PermissionOwnerId, ResourceId, SerializedJob FROM Job WHERE (JobId = SCOPE_IDENTITY())";7539 this._adapter.InsertCommand.CommandText = @"INSERT INTO [Job] ([ParentJobId], [JobState], [PermissionOwnerId], [ResourceId], [SerializedJob], [Percentage]) VALUES (@ParentJobId, @JobState, @PermissionOwnerId, @ResourceId, @SerializedJob, @Percentage); 7540 SELECT JobId, ParentJobId, JobState, PermissionOwnerId, ResourceId, SerializedJob, Percentage FROM Job WHERE (JobId = SCOPE_IDENTITY())"; 7539 7541 this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; 7540 7542 this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ParentJobId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ParentJobId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); … … 7543 7545 this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ResourceId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7544 7546 this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SerializedJob", global::System.Data.SqlDbType.VarBinary, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerializedJob", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7547 this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Percentage", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Percentage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7545 7548 this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); 7546 7549 this._adapter.UpdateCommand.Connection = this.Connection; 7547 this._adapter.UpdateCommand.CommandText = @"UPDATE [Job] SET [ParentJobId] = @ParentJobId, [JobState] = @JobState, [PermissionOwnerId] = @PermissionOwnerId, [ResourceId] = @ResourceId, [SerializedJob] = @SerializedJob WHERE (([JobId] = @Original_JobId) AND ((@IsNull_ParentJobId = 1 AND [ParentJobId] IS NULL) OR ([ParentJobId] = @Original_ParentJobId)) AND ((@IsNull_JobState = 1 AND [JobState] IS NULL) OR ([JobState] = @Original_JobState)) AND ((@IsNull_PermissionOwnerId = 1 AND [PermissionOwnerId] IS NULL) OR ([PermissionOwnerId] = @Original_PermissionOwnerId)) AND ((@IsNull_ResourceId = 1 AND [ResourceId] IS NULL) OR ([ResourceId] = @Original_ResourceId)));7548 SELECT JobId, ParentJobId, JobState, PermissionOwnerId, ResourceId, SerializedJob FROM Job WHERE (JobId = @JobId)";7550 this._adapter.UpdateCommand.CommandText = @"UPDATE [Job] SET [ParentJobId] = @ParentJobId, [JobState] = @JobState, [PermissionOwnerId] = @PermissionOwnerId, [ResourceId] = @ResourceId, [SerializedJob] = @SerializedJob, [Percentage] = @Percentage WHERE (([JobId] = @Original_JobId) AND ((@IsNull_ParentJobId = 1 AND [ParentJobId] IS NULL) OR ([ParentJobId] = @Original_ParentJobId)) AND ((@IsNull_JobState = 1 AND [JobState] IS NULL) OR ([JobState] = @Original_JobState)) AND ((@IsNull_PermissionOwnerId = 1 AND [PermissionOwnerId] IS NULL) OR ([PermissionOwnerId] = @Original_PermissionOwnerId)) AND ((@IsNull_ResourceId = 1 AND [ResourceId] IS NULL) OR ([ResourceId] = @Original_ResourceId)) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage))); 7551 SELECT JobId, ParentJobId, JobState, PermissionOwnerId, ResourceId, SerializedJob, Percentage FROM Job WHERE (JobId = @JobId)"; 7549 7552 this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; 7550 7553 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ParentJobId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ParentJobId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); … … 7553 7556 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ResourceId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7554 7557 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SerializedJob", global::System.Data.SqlDbType.VarBinary, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SerializedJob", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7558 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Percentage", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Percentage", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7555 7559 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_JobId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "JobId", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); 7556 7560 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ParentJobId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ParentJobId", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); … … 7562 7566 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ResourceId", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); 7563 7567 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ResourceId", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); 7568 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Percentage", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Percentage", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); 7569 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Percentage", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Percentage", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); 7564 7570 this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JobId", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "JobId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7565 7571 } … … 7577 7583 this._commandCollection[0].Connection = this.Connection; 7578 7584 this._commandCollection[0].CommandText = "SELECT JobId, ParentJobId, JobState, PermissionOwnerId, ResourceId, SerializedJob" + 7579 " FROM Job";7585 ", Percentage FROM Job"; 7580 7586 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; 7581 7587 this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); 7582 7588 this._commandCollection[1].Connection = this.Connection; 7583 this._commandCollection[1].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, SerializedJob" + 7584 " FROM Job WHERE (JobState <> \'offline\')"; 7589 this._commandCollection[1].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, Serialize" + 7590 "dJob, Percentage\r\nFROM Job\r\nWHERE (JobState = \'calculating\') OR\r\n " + 7591 " (JobState = \'idle\')"; 7585 7592 this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; 7586 7593 this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); 7587 7594 this._commandCollection[2].Connection = this.Connection; 7588 this._commandCollection[2].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, SerializedJob" +7589 " FROM Job WHERE(ResourceId = @ResourceId)";7595 this._commandCollection[2].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, Serialize" + 7596 "dJob, Percentage\r\nFROM Job\r\nWHERE (ResourceId = @ResourceId)"; 7590 7597 this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; 7591 7598 this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ResourceId", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7592 7599 this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); 7593 7600 this._commandCollection[3].Connection = this.Connection; 7594 this._commandCollection[3].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, SerializedJob" +7595 " FROM Job WHERE(JobId = @Id)";7601 this._commandCollection[3].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, Serialize" + 7602 "dJob, Percentage\r\nFROM Job\r\nWHERE (JobId = @Id)"; 7596 7603 this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; 7597 7604 this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "JobId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7598 7605 this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); 7599 7606 this._commandCollection[4].Connection = this.Connection; 7600 this._commandCollection[4].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, SerializedJob" +7601 " FROM Job WHERE(JobState = @State)";7607 this._commandCollection[4].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, Serialize" + 7608 "dJob, Percentage\r\nFROM Job\r\nWHERE (JobState = @State)"; 7602 7609 this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; 7603 7610 this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@State", global::System.Data.SqlDbType.VarChar, 18, global::System.Data.ParameterDirection.Input, 0, 0, "JobState", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7604 7611 this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); 7605 7612 this._commandCollection[5].Connection = this.Connection; 7606 this._commandCollection[5].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, SerializedJob" +7607 " FROM Job WHERE(ParentJobId = @Id)";7613 this._commandCollection[5].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, Serialize" + 7614 "dJob, Percentage\r\nFROM Job\r\nWHERE (ParentJobId = @Id)"; 7608 7615 this._commandCollection[5].CommandType = global::System.Data.CommandType.Text; 7609 7616 this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "ParentJobId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 7610 7617 this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); 7611 7618 this._commandCollection[6].Connection = this.Connection; 7612 this._commandCollection[6].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, SerializedJob" + 7613 " FROM Job WHERE (PermissionOwnerId = @PermissionOwnerId)"; 7619 this._commandCollection[6].CommandText = "SELECT JobId, JobState, ParentJobId, PermissionOwnerId, ResourceId, Serialize" + 7620 "dJob, Percentage\r\nFROM Job\r\nWHERE (PermissionOwnerId = @PermissionOw" + 7621 "nerId)"; 7614 7622 this._commandCollection[6].CommandType = global::System.Data.CommandType.Text; 7615 7623 this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PermissionOwnerId", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "PermissionOwnerId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); … … 7848 7856 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 7849 7857 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] 7850 public virtual int Delete(long Original_JobId, global::System.Nullable<long> Original_ParentJobId, string Original_JobState, global::System.Nullable<long> Original_PermissionOwnerId, global::System.Nullable<long> Original_ResourceId ) {7858 public virtual int Delete(long Original_JobId, global::System.Nullable<long> Original_ParentJobId, string Original_JobState, global::System.Nullable<long> Original_PermissionOwnerId, global::System.Nullable<long> Original_ResourceId, global::System.Nullable<double> Original_Percentage) { 7851 7859 this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_JobId)); 7852 7860 if ((Original_ParentJobId.HasValue == true)) { … … 7882 7890 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; 7883 7891 } 7892 if ((Original_Percentage.HasValue == true)) { 7893 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); 7894 this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_Percentage.Value)); 7895 } 7896 else { 7897 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); 7898 this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; 7899 } 7884 7900 global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; 7885 7901 if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) … … 7901 7917 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 7902 7918 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] 7903 public virtual int Insert(global::System.Nullable<long> ParentJobId, string JobState, global::System.Nullable<long> PermissionOwnerId, global::System.Nullable<long> ResourceId, byte[] SerializedJob ) {7919 public virtual int Insert(global::System.Nullable<long> ParentJobId, string JobState, global::System.Nullable<long> PermissionOwnerId, global::System.Nullable<long> ResourceId, byte[] SerializedJob, global::System.Nullable<double> Percentage) { 7904 7920 if ((ParentJobId.HasValue == true)) { 7905 7921 this.Adapter.InsertCommand.Parameters[0].Value = ((long)(ParentJobId.Value)); … … 7931 7947 else { 7932 7948 this.Adapter.InsertCommand.Parameters[4].Value = ((byte[])(SerializedJob)); 7949 } 7950 if ((Percentage.HasValue == true)) { 7951 this.Adapter.InsertCommand.Parameters[5].Value = ((double)(Percentage.Value)); 7952 } 7953 else { 7954 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; 7933 7955 } 7934 7956 global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; … … 7951 7973 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 7952 7974 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] 7953 public virtual int Update(global::System.Nullable<long> ParentJobId, string JobState, global::System.Nullable<long> PermissionOwnerId, global::System.Nullable<long> ResourceId, byte[] SerializedJob, long Original_JobId, global::System.Nullable<long> Original_ParentJobId, string Original_JobState, global::System.Nullable<long> Original_PermissionOwnerId, global::System.Nullable<long> Original_ResourceId, long JobId) {7975 public virtual int Update(global::System.Nullable<long> ParentJobId, string JobState, global::System.Nullable<long> PermissionOwnerId, global::System.Nullable<long> ResourceId, byte[] SerializedJob, global::System.Nullable<double> Percentage, long Original_JobId, global::System.Nullable<long> Original_ParentJobId, string Original_JobState, global::System.Nullable<long> Original_PermissionOwnerId, global::System.Nullable<long> Original_ResourceId, global::System.Nullable<double> Original_Percentage, long JobId) { 7954 7976 if ((ParentJobId.HasValue == true)) { 7955 7977 this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(ParentJobId.Value)); … … 7982 8004 this.Adapter.UpdateCommand.Parameters[4].Value = ((byte[])(SerializedJob)); 7983 8005 } 7984 this.Adapter.UpdateCommand.Parameters[5].Value = ((long)(Original_JobId)); 8006 if ((Percentage.HasValue == true)) { 8007 this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(Percentage.Value)); 8008 } 8009 else { 8010 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; 8011 } 8012 this.Adapter.UpdateCommand.Parameters[6].Value = ((long)(Original_JobId)); 7985 8013 if ((Original_ParentJobId.HasValue == true)) { 7986 this.Adapter.UpdateCommand.Parameters[ 6].Value = ((object)(0));7987 this.Adapter.UpdateCommand.Parameters[ 7].Value = ((long)(Original_ParentJobId.Value));8014 this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0)); 8015 this.Adapter.UpdateCommand.Parameters[8].Value = ((long)(Original_ParentJobId.Value)); 7988 8016 } 7989 8017 else { 7990 this.Adapter.UpdateCommand.Parameters[ 6].Value = ((object)(1));7991 this.Adapter.UpdateCommand.Parameters[ 7].Value = global::System.DBNull.Value;8018 this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1)); 8019 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; 7992 8020 } 7993 8021 if ((Original_JobState == null)) { 7994 this.Adapter.UpdateCommand.Parameters[ 8].Value = ((object)(1));7995 this.Adapter.UpdateCommand.Parameters[ 9].Value = global::System.DBNull.Value;8022 this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1)); 8023 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; 7996 8024 } 7997 8025 else { 7998 this.Adapter.UpdateCommand.Parameters[ 8].Value = ((object)(0));7999 this.Adapter.UpdateCommand.Parameters[ 9].Value = ((string)(Original_JobState));8026 this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0)); 8027 this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_JobState)); 8000 8028 } 8001 8029 if ((Original_PermissionOwnerId.HasValue == true)) { 8002 this.Adapter.UpdateCommand.Parameters[1 0].Value = ((object)(0));8003 this.Adapter.UpdateCommand.Parameters[1 1].Value = ((long)(Original_PermissionOwnerId.Value));8030 this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); 8031 this.Adapter.UpdateCommand.Parameters[12].Value = ((long)(Original_PermissionOwnerId.Value)); 8004 8032 } 8005 8033 else { 8006 this.Adapter.UpdateCommand.Parameters[1 0].Value = ((object)(1));8007 this.Adapter.UpdateCommand.Parameters[1 1].Value = global::System.DBNull.Value;8034 this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); 8035 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; 8008 8036 } 8009 8037 if ((Original_ResourceId.HasValue == true)) { 8010 this.Adapter.UpdateCommand.Parameters[1 2].Value = ((object)(0));8011 this.Adapter.UpdateCommand.Parameters[1 3].Value = ((long)(Original_ResourceId.Value));8038 this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0)); 8039 this.Adapter.UpdateCommand.Parameters[14].Value = ((long)(Original_ResourceId.Value)); 8012 8040 } 8013 8041 else { 8014 this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); 8015 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; 8016 } 8017 this.Adapter.UpdateCommand.Parameters[14].Value = ((long)(JobId)); 8042 this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1)); 8043 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; 8044 } 8045 if ((Original_Percentage.HasValue == true)) { 8046 this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0)); 8047 this.Adapter.UpdateCommand.Parameters[16].Value = ((double)(Original_Percentage.Value)); 8048 } 8049 else { 8050 this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1)); 8051 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; 8052 } 8053 this.Adapter.UpdateCommand.Parameters[17].Value = ((long)(JobId)); 8018 8054 global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; 8019 8055 if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) … … 8035 8071 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 8036 8072 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] 8037 public virtual int Update(global::System.Nullable<long> ParentJobId, string JobState, global::System.Nullable<long> PermissionOwnerId, global::System.Nullable<long> ResourceId, byte[] SerializedJob, long Original_JobId, global::System.Nullable<long> Original_ParentJobId, string Original_JobState, global::System.Nullable<long> Original_PermissionOwnerId, global::System.Nullable<long> Original_ResourceId) {8038 return this.Update(ParentJobId, JobState, PermissionOwnerId, ResourceId, SerializedJob, Original_JobId, Original_ParentJobId, Original_JobState, Original_PermissionOwnerId, Original_ResourceId, Original_JobId);8073 public virtual int Update(global::System.Nullable<long> ParentJobId, string JobState, global::System.Nullable<long> PermissionOwnerId, global::System.Nullable<long> ResourceId, byte[] SerializedJob, global::System.Nullable<double> Percentage, long Original_JobId, global::System.Nullable<long> Original_ParentJobId, string Original_JobState, global::System.Nullable<long> Original_PermissionOwnerId, global::System.Nullable<long> Original_ResourceId, global::System.Nullable<double> Original_Percentage) { 8074 return this.Update(ParentJobId, JobState, PermissionOwnerId, ResourceId, SerializedJob, Percentage, Original_JobId, Original_ParentJobId, Original_JobState, Original_PermissionOwnerId, Original_ResourceId, Original_Percentage, Original_JobId); 8039 8075 } 8040 8076 }
Note: See TracChangeset
for help on using the changeset viewer.