- Timestamp:
- 12/07/08 18:03:51 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/dsHiveServer.Designer.cs
r905 r925 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:2.0.50727. 30534 // Runtime Version:2.0.50727.1433 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 3628 3628 } 3629 3629 set { 3630 if (((this._resourceTableAdapter != null) 3631 && (this.TableAdapterInstanceCount == 1))) { 3632 this._resourceTableAdapter = value; 3633 return; 3634 } 3635 if (((value != null) 3636 && (this.MatchTableAdapterConnection(value.Connection) == false))) { 3637 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + 3638 "tring."); 3639 } 3630 3640 this._resourceTableAdapter = value; 3631 3641 } … … 3641 3651 } 3642 3652 set { 3653 if (((this._clientTableAdapter != null) 3654 && (this.TableAdapterInstanceCount == 1))) { 3655 this._clientTableAdapter = value; 3656 return; 3657 } 3658 if (((value != null) 3659 && (this.MatchTableAdapterConnection(value.Connection) == false))) { 3660 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + 3661 "tring."); 3662 } 3643 3663 this._clientTableAdapter = value; 3644 3664 } … … 3654 3674 } 3655 3675 set { 3676 if (((this._hiveUserTableAdapter != null) 3677 && (this.TableAdapterInstanceCount == 1))) { 3678 this._hiveUserTableAdapter = value; 3679 return; 3680 } 3681 if (((value != null) 3682 && (this.MatchTableAdapterConnection(value.Connection) == false))) { 3683 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + 3684 "tring."); 3685 } 3656 3686 this._hiveUserTableAdapter = value; 3657 3687 } … … 3667 3697 } 3668 3698 set { 3699 if (((this._permissionOwnerTableAdapter != null) 3700 && (this.TableAdapterInstanceCount == 1))) { 3701 this._permissionOwnerTableAdapter = value; 3702 return; 3703 } 3704 if (((value != null) 3705 && (this.MatchTableAdapterConnection(value.Connection) == false))) { 3706 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + 3707 "tring."); 3708 } 3669 3709 this._permissionOwnerTableAdapter = value; 3670 3710 } … … 3893 3933 return 0; 3894 3934 } 3895 if (((this._resourceTableAdapter != null)3896 && (this.MatchTableAdapterConnection(this._resourceTableAdapter.Connection) == false))) {3897 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +3898 "tring.");3899 }3900 if (((this._clientTableAdapter != null)3901 && (this.MatchTableAdapterConnection(this._clientTableAdapter.Connection) == false))) {3902 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +3903 "tring.");3904 }3905 if (((this._hiveUserTableAdapter != null)3906 && (this.MatchTableAdapterConnection(this._hiveUserTableAdapter.Connection) == false))) {3907 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +3908 "tring.");3909 }3910 if (((this._permissionOwnerTableAdapter != null)3911 && (this.MatchTableAdapterConnection(this._permissionOwnerTableAdapter.Connection) == false))) {3912 throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +3913 "tring.");3914 }3915 3935 global::System.Data.IDbConnection workConnection = this.Connection; 3916 3936 if ((workConnection == null)) { … … 3919 3939 } 3920 3940 bool workConnOpened = false; 3921 if (((workConnection.State & global::System.Data.ConnectionState.Broken) 3922 == global::System.Data.ConnectionState.Broken)) { 3923 workConnection.Close(); 3924 } 3925 if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { 3941 if (((workConnection.State & global::System.Data.ConnectionState.Closed) 3942 == global::System.Data.ConnectionState.Closed)) { 3926 3943 workConnection.Open(); 3927 3944 workConnOpened = true;
Note: See TracChangeset
for help on using the changeset viewer.