Changeset 5478
- Timestamp:
- 02/16/11 03:20:57 (14 years ago)
- Location:
- branches/OKB (trunk integration)
- Files:
-
- 22 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Services.OKB.DataAccess/3.3/OKB.dbml
r5397 r5478 36 36 <Column Name="Name" Type="System.String" DbType="NVarChar(200) NOT NULL" CanBeNull="false" /> 37 37 <Column Name="Description" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" /> 38 <Association Name="Platform_DataType" Member="DataTypes" ThisKey="Id" OtherKey="PlatformId" Type="DataType" />39 38 <Association Name="Platform_Algorithm" Member="Algorithms" ThisKey="Id" OtherKey="PlatformId" Type="Algorithm" /> 40 39 <Association Name="Platform_Problem" Member="Problems" ThisKey="Id" OtherKey="PlatformId" Type="Problem" /> … … 44 43 <Type Name="DataType"> 45 44 <Column Name="Id" Type="System.Int64" DbType="BigInt NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" /> 46 <Column Name="PlatformId" Type="System.Int64" DbType="BigInt NOT NULL" CanBeNull="false" />47 45 <Column Name="Name" Type="System.String" DbType="NVarChar(200) NOT NULL" CanBeNull="false" /> 48 46 <Column Name="TypeName" Type="System.String" DbType="NVarChar(MAX) NOT NULL" CanBeNull="false" /> … … 51 49 <Association Name="DataType_Value" Member="Values" ThisKey="Id" OtherKey="DataTypeId" Type="Value" /> 52 50 <Association Name="DataType_CharacteristicValue" Member="CharacteristicValues" ThisKey="Id" OtherKey="DataTypeId" Type="CharacteristicValue" /> 53 <Association Name="Platform_DataType" Member="Platform" ThisKey="PlatformId" OtherKey="Id" Type="Platform" IsForeignKey="true" />54 51 </Type> 55 52 </Table> -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB.DataAccess/3.3/OKB.dbml.layout
r5459 r5478 33 33 </nestedChildShapes> 34 34 </classShape> 35 <classShape Id="34f5a12b-f109-4606-baf8-6ddfde7c1b34" absoluteBounds="7, 2.125, 2, 1. 5785953776041666">35 <classShape Id="34f5a12b-f109-4606-baf8-6ddfde7c1b34" absoluteBounds="7, 2.125, 2, 1.3862939453125"> 36 36 <DataClassMoniker Name="/OKBDataContext/DataType" /> 37 37 <nestedChildShapes> 38 <elementListCompartment Id="1dacac40-e283-48e9-a98d-dddbc6b4fd48" absoluteBounds="7.0150000000000006, 2.585, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 39 </nestedChildShapes> 40 </classShape> 41 <associationConnector edgePoints="[(8 : 1.8862939453125); (8 : 2.125)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 42 <AssociationMoniker Name="/OKBDataContext/Platform/Platform_DataType" /> 43 <nodes> 44 <classShapeMoniker Id="42a9e8c0-3168-43f0-a31f-54d1558bd4c2" /> 45 <classShapeMoniker Id="34f5a12b-f109-4606-baf8-6ddfde7c1b34" /> 46 </nodes> 47 </associationConnector> 38 <elementListCompartment Id="1dacac40-e283-48e9-a98d-dddbc6b4fd48" absoluteBounds="7.0150000000000006, 2.585, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 39 </nestedChildShapes> 40 </classShape> 48 41 <classShape Id="c75911bf-ae6d-421c-9219-e027c3059390" absoluteBounds="3.5, 4, 2, 1.5785953776041666"> 49 42 <DataClassMoniker Name="/OKBDataContext/ValueName" /> … … 58 51 </nestedChildShapes> 59 52 </classShape> 60 <associationConnector edgePoints="[(2.75 : 2.39024983723958); (2.5 : 2.39024983723958)]" fixedFrom=" Algorithm" fixedTo="Algorithm">53 <associationConnector edgePoints="[(2.75 : 2.39024983723958); (2.5 : 2.39024983723958)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 61 54 <AssociationMoniker Name="/OKBDataContext/Algorithm/Algorithm_AlgorithmUser" /> 62 55 <nodes> … … 72 65 </nodes> 73 66 </associationConnector> 74 <associationConnector edgePoints="[(7 : 2.39024983723958); (4.75 : 2.39024983723958)]" fixedFrom=" NotFixed" fixedTo="NotFixed">67 <associationConnector edgePoints="[(7 : 2.39024983723958); (4.75 : 2.39024983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 75 68 <AssociationMoniker Name="/OKBDataContext/DataType/DataType_Algorithm" /> 76 69 <nodes> … … 92 85 </nestedChildShapes> 93 86 </classShape> 94 <associationConnector edgePoints="[(13.25 : 2.39024983723958); (13.5 : 2.39024983723958)]" fixedFrom=" Algorithm" fixedTo="Algorithm">87 <associationConnector edgePoints="[(13.25 : 2.39024983723958); (13.5 : 2.39024983723958)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 95 88 <AssociationMoniker Name="/OKBDataContext/Problem/Problem_ProblemUser" /> 96 89 <nodes> … … 99 92 </nodes> 100 93 </associationConnector> 101 <associationConnector edgePoints="[(9 : 2.39024983723958); (11.25 : 2.39024983723958)]" fixedFrom=" NotFixed" fixedTo="NotFixed">94 <associationConnector edgePoints="[(9 : 2.39024983723958); (11.25 : 2.39024983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 102 95 <AssociationMoniker Name="/OKBDataContext/DataType/DataType_Problem" /> 103 96 <nodes> … … 126 119 </nestedChildShapes> 127 120 </classShape> 128 <associationConnector edgePoints="[(7 : 10.3181469726562); (2.98333686713063 : 10.3181469726562); (2.98333686713063 : 2.65549967447917)]" fixedFrom=" Algorithm" fixedTo="Algorithm">121 <associationConnector edgePoints="[(7 : 10.3181469726562); (2.98333686713063 : 10.3181469726562); (2.98333686713063 : 2.65549967447917)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 129 122 <AssociationMoniker Name="/OKBDataContext/BinaryData/BinaryData_Algorithm" /> 130 123 <nodes> … … 133 126 </nodes> 134 127 </associationConnector> 135 <associationConnector edgePoints="[(9 : 10.3181469726562); (13.0131477507419 : 10.3181469726562); (13.0131477507419 : 2.65549967447917)]" fixedFrom=" Algorithm" fixedTo="Algorithm">128 <associationConnector edgePoints="[(9 : 10.3181469726562); (13.0131477507419 : 10.3181469726562); (13.0131477507419 : 2.65549967447917)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 136 129 <AssociationMoniker Name="/OKBDataContext/BinaryData/BinaryData_Problem" /> 137 130 <nodes> … … 173 166 </nodes> 174 167 </associationConnector> 175 <associationConnector edgePoints="[(7 : 3.07568669800201); (6.6959048132675 : 3.07568669800201); (6.6959048132675 : 4)]" fixedFrom="NotFixed" fixedTo="NotFixed">168 <associationConnector edgePoints="[(7.273878302532 : 3.5112939453125); (7.273878302532 : 4)]" fixedFrom="Caller" fixedTo="Algorithm"> 176 169 <AssociationMoniker Name="/OKBDataContext/DataType/DataType_Value" /> 177 170 <nodes> … … 213 206 </nodes> 214 207 </associationConnector> 215 <associationConnector edgePoints="[( 9 : 3.05278498857512); (9.24152226977744 : 3.05278498857512); (9.24152226977744 : 4)]" fixedFrom="NotFixed" fixedTo="NotFixed">208 <associationConnector edgePoints="[(8.68784173221247 : 3.5112939453125); (8.68784173221247 : 4)]" fixedFrom="Caller" fixedTo="Algorithm"> 216 209 <AssociationMoniker Name="/OKBDataContext/DataType/DataType_CharacteristicValue" /> 217 210 <nodes> -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB.DataAccess/3.3/OKB.designer.cs
r5397 r5478 760 760 private string _Description; 761 761 762 private EntitySet<DataType> _DataTypes;763 764 762 private EntitySet<Algorithm> _Algorithms; 765 763 … … 780 778 public Platform() 781 779 { 782 this._DataTypes = new EntitySet<DataType>(new Action<DataType>(this.attach_DataTypes), new Action<DataType>(this.detach_DataTypes));783 780 this._Algorithms = new EntitySet<Algorithm>(new Action<Algorithm>(this.attach_Algorithms), new Action<Algorithm>(this.detach_Algorithms)); 784 781 this._Problems = new EntitySet<Problem>(new Action<Problem>(this.attach_Problems), new Action<Problem>(this.detach_Problems)); … … 846 843 } 847 844 848 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Platform_DataType", Storage="_DataTypes", ThisKey="Id", OtherKey="PlatformId")]849 public EntitySet<DataType> DataTypes850 {851 get852 {853 return this._DataTypes;854 }855 set856 {857 this._DataTypes.Assign(value);858 }859 }860 861 845 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Platform_Algorithm", Storage="_Algorithms", ThisKey="Id", OtherKey="PlatformId")] 862 846 public EntitySet<Algorithm> Algorithms … … 903 887 this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); 904 888 } 905 }906 907 private void attach_DataTypes(DataType entity)908 {909 this.SendPropertyChanging();910 entity.Platform = this;911 }912 913 private void detach_DataTypes(DataType entity)914 {915 this.SendPropertyChanging();916 entity.Platform = null;917 889 } 918 890 … … 950 922 private long _Id; 951 923 952 private long _PlatformId;953 954 924 private string _Name; 955 925 … … 963 933 964 934 private EntitySet<CharacteristicValue> _CharacteristicValues; 965 966 private EntityRef<Platform> _Platform;967 935 968 936 #region Extensibility Method Definitions … … 972 940 partial void OnIdChanging(long value); 973 941 partial void OnIdChanged(); 974 partial void OnPlatformIdChanging(long value);975 partial void OnPlatformIdChanged();976 942 partial void OnNameChanging(string value); 977 943 partial void OnNameChanged(); … … 986 952 this._Values = new EntitySet<Value>(new Action<Value>(this.attach_Values), new Action<Value>(this.detach_Values)); 987 953 this._CharacteristicValues = new EntitySet<CharacteristicValue>(new Action<CharacteristicValue>(this.attach_CharacteristicValues), new Action<CharacteristicValue>(this.detach_CharacteristicValues)); 988 this._Platform = default(EntityRef<Platform>);989 954 OnCreated(); 990 955 } … … 1010 975 } 1011 976 1012 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlatformId", DbType="BigInt NOT NULL")]1013 public long PlatformId1014 {1015 get1016 {1017 return this._PlatformId;1018 }1019 set1020 {1021 if ((this._PlatformId != value))1022 {1023 if (this._Platform.HasLoadedOrAssignedValue)1024 {1025 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();1026 }1027 this.OnPlatformIdChanging(value);1028 this.SendPropertyChanging();1029 this._PlatformId = value;1030 this.SendPropertyChanged("PlatformId");1031 this.OnPlatformIdChanged();1032 }1033 }1034 }1035 1036 977 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200) NOT NULL", CanBeNull=false)] 1037 978 public string Name … … 1123 1064 { 1124 1065 this._CharacteristicValues.Assign(value); 1125 }1126 }1127 1128 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Platform_DataType", Storage="_Platform", ThisKey="PlatformId", OtherKey="Id", IsForeignKey=true)]1129 public Platform Platform1130 {1131 get1132 {1133 return this._Platform.Entity;1134 }1135 set1136 {1137 Platform previousValue = this._Platform.Entity;1138 if (((previousValue != value)1139 || (this._Platform.HasLoadedOrAssignedValue == false)))1140 {1141 this.SendPropertyChanging();1142 if ((previousValue != null))1143 {1144 this._Platform.Entity = null;1145 previousValue.DataTypes.Remove(this);1146 }1147 this._Platform.Entity = value;1148 if ((value != null))1149 {1150 value.DataTypes.Add(this);1151 this._PlatformId = value.Id;1152 }1153 else1154 {1155 this._PlatformId = default(long);1156 }1157 this.SendPropertyChanged("Platform");1158 }1159 1066 } 1160 1067 } -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/HeuristicLab.Services.OKB-3.3.csproj
r5389 r5478 164 164 <Compile Include="Interfaces\IFilter.cs" /> 165 165 <Compile Include="Properties\AssemblyInfo.cs" /> 166 <Compile Include="RunCreation\Convert.cs" /> 167 <Compile Include="RunCreation\DataTransfer\Algorithm.cs" /> 168 <Compile Include="RunCreation\DataTransfer\AlgorithmClass.cs" /> 169 <Compile Include="RunCreation\DataTransfer\BinaryValue.cs" /> 170 <Compile Include="RunCreation\DataTransfer\BoolValue.cs" /> 171 <Compile Include="RunCreation\DataTransfer\DataType.cs" /> 172 <Compile Include="RunCreation\DataTransfer\DoubleValue.cs" /> 173 <Compile Include="RunCreation\DataTransfer\FloatValue.cs" /> 174 <Compile Include="RunCreation\DataTransfer\IntValue.cs" /> 175 <Compile Include="RunCreation\DataTransfer\LongValue.cs" /> 176 <Compile Include="RunCreation\DataTransfer\Problem.cs" /> 177 <Compile Include="RunCreation\DataTransfer\ProblemClass.cs" /> 178 <Compile Include="RunCreation\DataTransfer\Run.cs" /> 179 <Compile Include="RunCreation\DataTransfer\StringValue.cs" /> 180 <Compile Include="RunCreation\DataTransfer\Value.cs" /> 181 <Compile Include="RunCreation\RunCreationService.cs" /> 182 <Compile Include="RunCreation\IRunCreationService.cs" /> 166 183 </ItemGroup> 167 184 <ItemGroup> … … 181 198 <Name>HeuristicLab.Services.OKB.DataTransfer-3.3</Name> 182 199 </ProjectReference> 200 </ItemGroup> 201 <ItemGroup> 202 <Folder Include="Administration\" /> 203 <Folder Include="Authentication\" /> 204 <Folder Include="Query\" /> 205 </ItemGroup> 206 <ItemGroup> 207 <Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" /> 183 208 </ItemGroup> 184 209 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
Note: See TracChangeset
for help on using the changeset viewer.