- Timestamp:
- 03/10/16 15:04:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Services.OKB.DataAccess/3.3/OKB.designer.cs
r13501 r13682 73 73 partial void UpdateCharacteristicValue(CharacteristicValue instance); 74 74 partial void DeleteCharacteristicValue(CharacteristicValue instance); 75 partial void InsertSingleObjectiveSolution(SingleObjectiveSolution instance); 76 partial void UpdateSingleObjectiveSolution(SingleObjectiveSolution instance); 77 partial void DeleteSingleObjectiveSolution(SingleObjectiveSolution instance); 75 78 #endregion 76 79 … … 214 217 { 215 218 return this.GetTable<CharacteristicValue>(); 219 } 220 } 221 222 public System.Data.Linq.Table<SingleObjectiveSolution> SingleObjectiveSolutions 223 { 224 get 225 { 226 return this.GetTable<SingleObjectiveSolution>(); 216 227 } 217 228 } … … 934 945 private EntitySet<CharacteristicValue> _CharacteristicValues; 935 946 947 private EntitySet<SingleObjectiveSolution> _SingleObjectiveSolutions; 948 936 949 #region Extensibility Method Definitions 937 950 partial void OnLoaded(); … … 952 965 this._Values = new EntitySet<Value>(new Action<Value>(this.attach_Values), new Action<Value>(this.detach_Values)); 953 966 this._CharacteristicValues = new EntitySet<CharacteristicValue>(new Action<CharacteristicValue>(this.attach_CharacteristicValues), new Action<CharacteristicValue>(this.detach_CharacteristicValues)); 967 this._SingleObjectiveSolutions = new EntitySet<SingleObjectiveSolution>(new Action<SingleObjectiveSolution>(this.attach_SingleObjectiveSolutions), new Action<SingleObjectiveSolution>(this.detach_SingleObjectiveSolutions)); 954 968 OnCreated(); 955 969 } … … 1067 1081 } 1068 1082 1083 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="DataType_SingleObjectiveSolution", Storage="_SingleObjectiveSolutions", ThisKey="Id", OtherKey="DataTypeId")] 1084 public EntitySet<SingleObjectiveSolution> SingleObjectiveSolutions 1085 { 1086 get 1087 { 1088 return this._SingleObjectiveSolutions; 1089 } 1090 set 1091 { 1092 this._SingleObjectiveSolutions.Assign(value); 1093 } 1094 } 1095 1069 1096 public event PropertyChangingEventHandler PropertyChanging; 1070 1097 … … 1130 1157 1131 1158 private void detach_CharacteristicValues(CharacteristicValue entity) 1159 { 1160 this.SendPropertyChanging(); 1161 entity.DataType = null; 1162 } 1163 1164 private void attach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 1165 { 1166 this.SendPropertyChanging(); 1167 entity.DataType = this; 1168 } 1169 1170 private void detach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 1132 1171 { 1133 1172 this.SendPropertyChanging(); … … 1750 1789 private EntitySet<CharacteristicValue> _CharacteristicValues; 1751 1790 1791 private EntitySet<SingleObjectiveSolution> _SingleObjectiveSolutions; 1792 1752 1793 private EntityRef<DataType> _DataType; 1753 1794 … … 1783 1824 this._Runs = new EntitySet<Run>(new Action<Run>(this.attach_Runs), new Action<Run>(this.detach_Runs)); 1784 1825 this._CharacteristicValues = new EntitySet<CharacteristicValue>(new Action<CharacteristicValue>(this.attach_CharacteristicValues), new Action<CharacteristicValue>(this.detach_CharacteristicValues)); 1826 this._SingleObjectiveSolutions = new EntitySet<SingleObjectiveSolution>(new Action<SingleObjectiveSolution>(this.attach_SingleObjectiveSolutions), new Action<SingleObjectiveSolution>(this.detach_SingleObjectiveSolutions)); 1785 1827 this._DataType = default(EntityRef<DataType>); 1786 1828 this._Platform = default(EntityRef<Platform>); … … 1985 2027 } 1986 2028 2029 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Problem_SingleObjectiveSolution", Storage="_SingleObjectiveSolutions", ThisKey="Id", OtherKey="ProblemId")] 2030 public EntitySet<SingleObjectiveSolution> SingleObjectiveSolutions 2031 { 2032 get 2033 { 2034 return this._SingleObjectiveSolutions; 2035 } 2036 set 2037 { 2038 this._SingleObjectiveSolutions.Assign(value); 2039 } 2040 } 2041 1987 2042 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="DataType_Problem", Storage="_DataType", ThisKey="DataTypeId", OtherKey="Id", IsForeignKey=true)] 1988 2043 public DataType DataType … … 2172 2227 2173 2228 private void detach_CharacteristicValues(CharacteristicValue entity) 2229 { 2230 this.SendPropertyChanging(); 2231 entity.Problem = null; 2232 } 2233 2234 private void attach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 2235 { 2236 this.SendPropertyChanging(); 2237 entity.Problem = this; 2238 } 2239 2240 private void detach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 2174 2241 { 2175 2242 this.SendPropertyChanging(); … … 2195 2262 2196 2263 private EntitySet<Value> _Values; 2264 2265 private EntitySet<SingleObjectiveSolution> _SingleObjectiveSolutions; 2197 2266 2198 2267 #region Extensibility Method Definitions … … 2213 2282 this._Problems = new EntitySet<Problem>(new Action<Problem>(this.attach_Problems), new Action<Problem>(this.detach_Problems)); 2214 2283 this._Values = new EntitySet<Value>(new Action<Value>(this.attach_Values), new Action<Value>(this.detach_Values)); 2284 this._SingleObjectiveSolutions = new EntitySet<SingleObjectiveSolution>(new Action<SingleObjectiveSolution>(this.attach_SingleObjectiveSolutions), new Action<SingleObjectiveSolution>(this.detach_SingleObjectiveSolutions)); 2215 2285 OnCreated(); 2216 2286 } … … 2315 2385 } 2316 2386 2387 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="BinaryData_SingleObjectiveSolution", Storage="_SingleObjectiveSolutions", ThisKey="Id", OtherKey="BinaryDataId")] 2388 public EntitySet<SingleObjectiveSolution> SingleObjectiveSolutions 2389 { 2390 get 2391 { 2392 return this._SingleObjectiveSolutions; 2393 } 2394 set 2395 { 2396 this._SingleObjectiveSolutions.Assign(value); 2397 } 2398 } 2399 2317 2400 public event PropertyChangingEventHandler PropertyChanging; 2318 2401 … … 2366 2449 2367 2450 private void detach_Values(Value entity) 2451 { 2452 this.SendPropertyChanging(); 2453 entity.BinaryData = null; 2454 } 2455 2456 private void attach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 2457 { 2458 this.SendPropertyChanging(); 2459 entity.BinaryData = this; 2460 } 2461 2462 private void detach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 2368 2463 { 2369 2464 this.SendPropertyChanging(); … … 2391 2486 2392 2487 private EntitySet<Value> _Values; 2488 2489 private EntitySet<SingleObjectiveSolution> _SingleObjectiveSolutions; 2393 2490 2394 2491 private EntityRef<Algorithm> _Algorithm; … … 2417 2514 { 2418 2515 this._Values = new EntitySet<Value>(new Action<Value>(this.attach_Values), new Action<Value>(this.detach_Values)); 2516 this._SingleObjectiveSolutions = new EntitySet<SingleObjectiveSolution>(new Action<SingleObjectiveSolution>(this.attach_SingleObjectiveSolutions), new Action<SingleObjectiveSolution>(this.detach_SingleObjectiveSolutions)); 2419 2517 this._Algorithm = default(EntityRef<Algorithm>); 2420 2518 this._Problem = default(EntityRef<Problem>); … … 2563 2661 } 2564 2662 2663 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Run_SingleObjectiveSolution", Storage="_SingleObjectiveSolutions", ThisKey="Id", OtherKey="RunId")] 2664 public EntitySet<SingleObjectiveSolution> SingleObjectiveSolutions 2665 { 2666 get 2667 { 2668 return this._SingleObjectiveSolutions; 2669 } 2670 set 2671 { 2672 this._SingleObjectiveSolutions.Assign(value); 2673 } 2674 } 2675 2565 2676 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Algorithm_Run", Storage="_Algorithm", ThisKey="AlgorithmId", OtherKey="Id", IsForeignKey=true)] 2566 2677 public Algorithm Algorithm … … 2658 2769 2659 2770 private void detach_Values(Value entity) 2771 { 2772 this.SendPropertyChanging(); 2773 entity.Run = null; 2774 } 2775 2776 private void attach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 2777 { 2778 this.SendPropertyChanging(); 2779 entity.Run = this; 2780 } 2781 2782 private void detach_SingleObjectiveSolutions(SingleObjectiveSolution entity) 2660 2783 { 2661 2784 this.SendPropertyChanging(); … … 3668 3791 } 3669 3792 } 3793 3794 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SingleObjectiveSolution")] 3795 public partial class SingleObjectiveSolution : INotifyPropertyChanging, INotifyPropertyChanged 3796 { 3797 3798 private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); 3799 3800 private long _Id; 3801 3802 private System.Nullable<long> _ProblemId; 3803 3804 private System.Nullable<long> _BinaryDataId; 3805 3806 private System.Nullable<long> _RunId; 3807 3808 private double _Quality; 3809 3810 private System.Nullable<long> _DataTypeId; 3811 3812 private EntityRef<Problem> _Problem; 3813 3814 private EntityRef<BinaryData> _BinaryData; 3815 3816 private EntityRef<Run> _Run; 3817 3818 private EntityRef<DataType> _DataType; 3819 3820 #region Extensibility Method Definitions 3821 partial void OnLoaded(); 3822 partial void OnValidate(System.Data.Linq.ChangeAction action); 3823 partial void OnCreated(); 3824 partial void OnIdChanging(long value); 3825 partial void OnIdChanged(); 3826 partial void OnProblemIdChanging(System.Nullable<long> value); 3827 partial void OnProblemIdChanged(); 3828 partial void OnBinaryDataIdChanging(System.Nullable<long> value); 3829 partial void OnBinaryDataIdChanged(); 3830 partial void OnRunIdChanging(System.Nullable<long> value); 3831 partial void OnRunIdChanged(); 3832 partial void OnQualityChanging(double value); 3833 partial void OnQualityChanged(); 3834 partial void OnDataTypeIdChanging(System.Nullable<long> value); 3835 partial void OnDataTypeIdChanged(); 3836 #endregion 3837 3838 public SingleObjectiveSolution() 3839 { 3840 this._Problem = default(EntityRef<Problem>); 3841 this._BinaryData = default(EntityRef<BinaryData>); 3842 this._Run = default(EntityRef<Run>); 3843 this._DataType = default(EntityRef<DataType>); 3844 OnCreated(); 3845 } 3846 3847 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] 3848 public long Id 3849 { 3850 get 3851 { 3852 return this._Id; 3853 } 3854 set 3855 { 3856 if ((this._Id != value)) 3857 { 3858 this.OnIdChanging(value); 3859 this.SendPropertyChanging(); 3860 this._Id = value; 3861 this.SendPropertyChanged("Id"); 3862 this.OnIdChanged(); 3863 } 3864 } 3865 } 3866 3867 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemId", DbType="BigInt")] 3868 public System.Nullable<long> ProblemId 3869 { 3870 get 3871 { 3872 return this._ProblemId; 3873 } 3874 set 3875 { 3876 if ((this._ProblemId != value)) 3877 { 3878 if (this._Problem.HasLoadedOrAssignedValue) 3879 { 3880 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); 3881 } 3882 this.OnProblemIdChanging(value); 3883 this.SendPropertyChanging(); 3884 this._ProblemId = value; 3885 this.SendPropertyChanged("ProblemId"); 3886 this.OnProblemIdChanged(); 3887 } 3888 } 3889 } 3890 3891 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BinaryDataId", DbType="BigInt")] 3892 public System.Nullable<long> BinaryDataId 3893 { 3894 get 3895 { 3896 return this._BinaryDataId; 3897 } 3898 set 3899 { 3900 if ((this._BinaryDataId != value)) 3901 { 3902 if (this._BinaryData.HasLoadedOrAssignedValue) 3903 { 3904 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); 3905 } 3906 this.OnBinaryDataIdChanging(value); 3907 this.SendPropertyChanging(); 3908 this._BinaryDataId = value; 3909 this.SendPropertyChanged("BinaryDataId"); 3910 this.OnBinaryDataIdChanged(); 3911 } 3912 } 3913 } 3914 3915 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RunId", DbType="BigInt")] 3916 public System.Nullable<long> RunId 3917 { 3918 get 3919 { 3920 return this._RunId; 3921 } 3922 set 3923 { 3924 if ((this._RunId != value)) 3925 { 3926 if (this._Run.HasLoadedOrAssignedValue) 3927 { 3928 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); 3929 } 3930 this.OnRunIdChanging(value); 3931 this.SendPropertyChanging(); 3932 this._RunId = value; 3933 this.SendPropertyChanged("RunId"); 3934 this.OnRunIdChanged(); 3935 } 3936 } 3937 } 3938 3939 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quality", DbType="Float")] 3940 public double Quality 3941 { 3942 get 3943 { 3944 return this._Quality; 3945 } 3946 set 3947 { 3948 if ((this._Quality != value)) 3949 { 3950 this.OnQualityChanging(value); 3951 this.SendPropertyChanging(); 3952 this._Quality = value; 3953 this.SendPropertyChanged("Quality"); 3954 this.OnQualityChanged(); 3955 } 3956 } 3957 } 3958 3959 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DataTypeId", DbType="BigInt")] 3960 public System.Nullable<long> DataTypeId 3961 { 3962 get 3963 { 3964 return this._DataTypeId; 3965 } 3966 set 3967 { 3968 if ((this._DataTypeId != value)) 3969 { 3970 if (this._DataType.HasLoadedOrAssignedValue) 3971 { 3972 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); 3973 } 3974 this.OnDataTypeIdChanging(value); 3975 this.SendPropertyChanging(); 3976 this._DataTypeId = value; 3977 this.SendPropertyChanged("DataTypeId"); 3978 this.OnDataTypeIdChanged(); 3979 } 3980 } 3981 } 3982 3983 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Problem_SingleObjectiveSolution", Storage="_Problem", ThisKey="ProblemId", OtherKey="Id", IsForeignKey=true)] 3984 public Problem Problem 3985 { 3986 get 3987 { 3988 return this._Problem.Entity; 3989 } 3990 set 3991 { 3992 Problem previousValue = this._Problem.Entity; 3993 if (((previousValue != value) 3994 || (this._Problem.HasLoadedOrAssignedValue == false))) 3995 { 3996 this.SendPropertyChanging(); 3997 if ((previousValue != null)) 3998 { 3999 this._Problem.Entity = null; 4000 previousValue.SingleObjectiveSolutions.Remove(this); 4001 } 4002 this._Problem.Entity = value; 4003 if ((value != null)) 4004 { 4005 value.SingleObjectiveSolutions.Add(this); 4006 this._ProblemId = value.Id; 4007 } 4008 else 4009 { 4010 this._ProblemId = default(Nullable<long>); 4011 } 4012 this.SendPropertyChanged("Problem"); 4013 } 4014 } 4015 } 4016 4017 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="BinaryData_SingleObjectiveSolution", Storage="_BinaryData", ThisKey="BinaryDataId", OtherKey="Id", IsForeignKey=true)] 4018 public BinaryData BinaryData 4019 { 4020 get 4021 { 4022 return this._BinaryData.Entity; 4023 } 4024 set 4025 { 4026 BinaryData previousValue = this._BinaryData.Entity; 4027 if (((previousValue != value) 4028 || (this._BinaryData.HasLoadedOrAssignedValue == false))) 4029 { 4030 this.SendPropertyChanging(); 4031 if ((previousValue != null)) 4032 { 4033 this._BinaryData.Entity = null; 4034 previousValue.SingleObjectiveSolutions.Remove(this); 4035 } 4036 this._BinaryData.Entity = value; 4037 if ((value != null)) 4038 { 4039 value.SingleObjectiveSolutions.Add(this); 4040 this._BinaryDataId = value.Id; 4041 } 4042 else 4043 { 4044 this._BinaryDataId = default(Nullable<long>); 4045 } 4046 this.SendPropertyChanged("BinaryData"); 4047 } 4048 } 4049 } 4050 4051 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Run_SingleObjectiveSolution", Storage="_Run", ThisKey="RunId", OtherKey="Id", IsForeignKey=true)] 4052 public Run Run 4053 { 4054 get 4055 { 4056 return this._Run.Entity; 4057 } 4058 set 4059 { 4060 Run previousValue = this._Run.Entity; 4061 if (((previousValue != value) 4062 || (this._Run.HasLoadedOrAssignedValue == false))) 4063 { 4064 this.SendPropertyChanging(); 4065 if ((previousValue != null)) 4066 { 4067 this._Run.Entity = null; 4068 previousValue.SingleObjectiveSolutions.Remove(this); 4069 } 4070 this._Run.Entity = value; 4071 if ((value != null)) 4072 { 4073 value.SingleObjectiveSolutions.Add(this); 4074 this._RunId = value.Id; 4075 } 4076 else 4077 { 4078 this._RunId = default(Nullable<long>); 4079 } 4080 this.SendPropertyChanged("Run"); 4081 } 4082 } 4083 } 4084 4085 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="DataType_SingleObjectiveSolution", Storage="_DataType", ThisKey="DataTypeId", OtherKey="Id", IsForeignKey=true)] 4086 public DataType DataType 4087 { 4088 get 4089 { 4090 return this._DataType.Entity; 4091 } 4092 set 4093 { 4094 DataType previousValue = this._DataType.Entity; 4095 if (((previousValue != value) 4096 || (this._DataType.HasLoadedOrAssignedValue == false))) 4097 { 4098 this.SendPropertyChanging(); 4099 if ((previousValue != null)) 4100 { 4101 this._DataType.Entity = null; 4102 previousValue.SingleObjectiveSolutions.Remove(this); 4103 } 4104 this._DataType.Entity = value; 4105 if ((value != null)) 4106 { 4107 value.SingleObjectiveSolutions.Add(this); 4108 this._DataTypeId = value.Id; 4109 } 4110 else 4111 { 4112 this._DataTypeId = default(Nullable<long>); 4113 } 4114 this.SendPropertyChanged("DataType"); 4115 } 4116 } 4117 } 4118 4119 public event PropertyChangingEventHandler PropertyChanging; 4120 4121 public event PropertyChangedEventHandler PropertyChanged; 4122 4123 protected virtual void SendPropertyChanging() 4124 { 4125 if ((this.PropertyChanging != null)) 4126 { 4127 this.PropertyChanging(this, emptyChangingEventArgs); 4128 } 4129 } 4130 4131 protected virtual void SendPropertyChanged(String propertyName) 4132 { 4133 if ((this.PropertyChanged != null)) 4134 { 4135 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); 4136 } 4137 } 4138 } 3670 4139 } 3671 4140 #pragma warning restore 1591
Note: See TracChangeset
for help on using the changeset viewer.