Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5397


Ignore:
Timestamp:
01/31/11 02:37:47 (13 years ago)
Author:
swagner
Message:

Worked on OKB (#1174)

Location:
branches/OKB (trunk integration)/HeuristicLab.Services.OKB.DataAccess/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB.DataAccess/3.3/OKB.dbml

    r5378 r5397  
    5050      <Association Name="DataType_Problem" Member="Problems" ThisKey="Id" OtherKey="DataTypeId" Type="Problem" />
    5151      <Association Name="DataType_Value" Member="Values" ThisKey="Id" OtherKey="DataTypeId" Type="Value" />
     52      <Association Name="DataType_CharacteristicValue" Member="CharacteristicValues" ThisKey="Id" OtherKey="DataTypeId" Type="CharacteristicValue" />
    5253      <Association Name="Platform_DataType" Member="Platform" ThisKey="PlatformId" OtherKey="Id" Type="Platform" IsForeignKey="true" />
    5354    </Type>
     
    9091      <Association Name="Problem_ProblemUser" Member="ProblemUsers" ThisKey="Id" OtherKey="ProblemId" Type="ProblemUser" />
    9192      <Association Name="Problem_Run" Member="Runs" ThisKey="Id" OtherKey="ProblemId" Type="Run" />
     93      <Association Name="Problem_CharacteristicValue" Member="CharacteristicValues" ThisKey="Id" OtherKey="ProblemId" Type="CharacteristicValue" />
    9294      <Association Name="DataType_Problem" Member="DataType" ThisKey="DataTypeId" OtherKey="Id" Type="DataType" IsForeignKey="true" />
    9395      <Association Name="Platform_Problem" Member="Platform" ThisKey="PlatformId" OtherKey="Id" Type="Platform" IsForeignKey="true" />
     
    139141    </Type>
    140142  </Table>
     143  <Table Name="dbo.Characteristic" Member="Characteristics">
     144    <Type Name="Characteristic">
     145      <Column Name="Id" Type="System.Int64" DbType="BigInt NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
     146      <Column Name="Name" Type="System.String" DbType="NVarChar(200) NOT NULL" CanBeNull="false" />
     147      <Column Name="Type" Type="System.Byte" DbType="TinyInt NOT NULL" CanBeNull="false" />
     148      <Association Name="Characteristic_CharacteristicValue" Member="CharacteristicValues" ThisKey="Id" OtherKey="CharacteristicId" Type="CharacteristicValue" />
     149    </Type>
     150  </Table>
     151  <Table Name="dbo.CharacteristicValue" Member="CharacteristicValues">
     152    <Type Name="CharacteristicValue">
     153      <Column Name="Id" Type="System.Int64" DbType="BigInt NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
     154      <Column Name="ProblemId" Type="System.Int64" DbType="BigInt NOT NULL" CanBeNull="false" />
     155      <Column Name="CharacteristicId" Type="System.Int64" DbType="BigInt NOT NULL" CanBeNull="false" />
     156      <Column Name="DataTypeId" Type="System.Int64" DbType="BigInt NOT NULL" CanBeNull="false" />
     157      <Column Name="BoolValue" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
     158      <Column Name="IntValue" Type="System.Int32" DbType="Int" CanBeNull="true" />
     159      <Column Name="LongValue" Type="System.Int64" DbType="BigInt" CanBeNull="true" />
     160      <Column Name="FloatValue" Type="System.Single" DbType="Real" CanBeNull="true" />
     161      <Column Name="DoubleValue" Type="System.Double" DbType="Float" CanBeNull="true" />
     162      <Column Name="StringValue" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" />
     163      <Association Name="Characteristic_CharacteristicValue" Member="Characteristic" ThisKey="CharacteristicId" OtherKey="Id" Type="Characteristic" IsForeignKey="true" />
     164      <Association Name="DataType_CharacteristicValue" Member="DataType" ThisKey="DataTypeId" OtherKey="Id" Type="DataType" IsForeignKey="true" />
     165      <Association Name="Problem_CharacteristicValue" Member="Problem" ThisKey="ProblemId" OtherKey="Id" Type="Problem" IsForeignKey="true" />
     166    </Type>
     167  </Table>
    141168</Database>
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB.DataAccess/3.3/OKB.dbml.layout

    r5378 r5397  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <ordesignerObjectsDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 12, 13.25" name="OKB">
     2<ordesignerObjectsDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 15.75, 11.25" name="OKB">
    33  <DataContextMoniker Name="/OKBDataContext" />
    44  <nestedChildShapes>
    5     <classShape Id="ec288562-8ef9-46b8-a2dc-a471fec7afb8" absoluteBounds="0.75, 0.5, 2, 1.3862939453125">
     5    <classShape Id="ec288562-8ef9-46b8-a2dc-a471fec7afb8" absoluteBounds="0.5, 0.5, 2, 1.3862939453125">
    66      <DataClassMoniker Name="/OKBDataContext/AlgorithmClass" />
    77      <nestedChildShapes>
    8         <elementListCompartment Id="fbed452c-662c-42d5-b89f-2b122b63aecc" absoluteBounds="0.76500000000000012, 0.96, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    9       </nestedChildShapes>
    10     </classShape>
    11     <classShape Id="018aceac-7bd0-4fdd-8cca-d219aa08a5b5" absoluteBounds="9.75, 0.5, 2, 1.3862939453125">
     8        <elementListCompartment Id="fbed452c-662c-42d5-b89f-2b122b63aecc" absoluteBounds="0.51500000000000012, 0.96, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     9      </nestedChildShapes>
     10    </classShape>
     11    <classShape Id="018aceac-7bd0-4fdd-8cca-d219aa08a5b5" absoluteBounds="13.5, 0.5, 2, 1.3862939453125">
    1212      <DataClassMoniker Name="/OKBDataContext/ProblemClass" />
    1313      <nestedChildShapes>
    14         <elementListCompartment Id="2958536f-012b-4eb7-8bc7-453edcda1493" absoluteBounds="9.765, 0.96, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    15       </nestedChildShapes>
    16     </classShape>
    17     <classShape Id="aa997e47-0162-4fc2-aa8d-e237c50c46fe" isExpanded="false" absoluteBounds="0.75, 2.125, 2, 0.45">
     14        <elementListCompartment Id="2958536f-012b-4eb7-8bc7-453edcda1493" absoluteBounds="13.515, 0.96, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     15      </nestedChildShapes>
     16    </classShape>
     17    <classShape Id="aa997e47-0162-4fc2-aa8d-e237c50c46fe" isExpanded="false" absoluteBounds="0.5, 2.125, 2, 0.45">
    1818      <DataClassMoniker Name="/OKBDataContext/AlgorithmUser" />
    1919      <nestedChildShapes>
    20         <elementListCompartment Id="f81c31a9-84c5-40b1-b817-6dccbe77227d" absoluteBounds="0.76500000000000057, 2.5850000000000009, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    21       </nestedChildShapes>
    22     </classShape>
    23     <classShape Id="8d911be4-13c4-4abd-85de-4f93f280dd50" isExpanded="false" absoluteBounds="9.75, 2.125, 2, 0.45">
     20        <elementListCompartment Id="f81c31a9-84c5-40b1-b817-6dccbe77227d" absoluteBounds="0.51500000000000057, 2.5850000000000009, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     21      </nestedChildShapes>
     22    </classShape>
     23    <classShape Id="8d911be4-13c4-4abd-85de-4f93f280dd50" isExpanded="false" absoluteBounds="13.5, 2.125, 2, 0.45">
    2424      <DataClassMoniker Name="/OKBDataContext/ProblemUser" />
    2525      <nestedChildShapes>
    26         <elementListCompartment Id="bdf4bd9d-405f-4582-99ff-036459c86748" absoluteBounds="9.765, 2.5850000000000009, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    27       </nestedChildShapes>
    28     </classShape>
    29     <classShape Id="42a9e8c0-3168-43f0-a31f-54d1558bd4c2" absoluteBounds="5.25, 0.5, 2, 1.3862939453125">
     26        <elementListCompartment Id="bdf4bd9d-405f-4582-99ff-036459c86748" absoluteBounds="13.515, 2.5850000000000009, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     27      </nestedChildShapes>
     28    </classShape>
     29    <classShape Id="42a9e8c0-3168-43f0-a31f-54d1558bd4c2" absoluteBounds="7, 0.5, 2, 1.3862939453125">
    3030      <DataClassMoniker Name="/OKBDataContext/Platform" />
    3131      <nestedChildShapes>
    32         <elementListCompartment Id="83ab4fa2-80aa-4c36-9596-bc4d9a0c6daf" absoluteBounds="5.2650000000000006, 0.96, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    33       </nestedChildShapes>
    34     </classShape>
    35     <classShape Id="34f5a12b-f109-4606-baf8-6ddfde7c1b34" absoluteBounds="5.25, 2.125, 2, 1.5785953776041666">
     32        <elementListCompartment Id="83ab4fa2-80aa-4c36-9596-bc4d9a0c6daf" absoluteBounds="7.0150000000000006, 0.96, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     33      </nestedChildShapes>
     34    </classShape>
     35    <classShape Id="34f5a12b-f109-4606-baf8-6ddfde7c1b34" absoluteBounds="7, 2.125, 2, 1.5785953776041666">
    3636      <DataClassMoniker Name="/OKBDataContext/DataType" />
    3737      <nestedChildShapes>
    38         <elementListCompartment Id="1dacac40-e283-48e9-a98d-dddbc6b4fd48" absoluteBounds="5.2650000000000006, 2.585, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    39       </nestedChildShapes>
    40     </classShape>
    41     <associationConnector edgePoints="[(6.25 : 1.8862939453125); (6.25 : 2.125)]" fixedFrom="NotFixed" fixedTo="NotFixed">
     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="Algorithm" fixedTo="Algorithm">
    4242      <AssociationMoniker Name="/OKBDataContext/Platform/Platform_DataType" />
    4343      <nodes>
     
    4646      </nodes>
    4747    </associationConnector>
    48     <classShape Id="c75911bf-ae6d-421c-9219-e027c3059390" absoluteBounds="6.25, 7.25, 2, 1.5785953776041666">
     48    <classShape Id="c75911bf-ae6d-421c-9219-e027c3059390" absoluteBounds="3.5, 4, 2, 1.5785953776041666">
    4949      <DataClassMoniker Name="/OKBDataContext/ValueName" />
    5050      <nestedChildShapes>
    51         <elementListCompartment Id="5aadda7d-ee09-475a-a2d1-e153615911b4" absoluteBounds="6.265, 7.71, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    52       </nestedChildShapes>
    53     </classShape>
    54     <classShape Id="be37de9e-465a-4d06-9dd6-3c3f7f1f07fa" absoluteBounds="3, 0.5, 2, 2.1554996744791666">
     51        <elementListCompartment Id="5aadda7d-ee09-475a-a2d1-e153615911b4" absoluteBounds="3.5149999999999997, 4.46, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     52      </nestedChildShapes>
     53    </classShape>
     54    <classShape Id="be37de9e-465a-4d06-9dd6-3c3f7f1f07fa" absoluteBounds="2.75, 0.5, 2, 2.1554996744791666">
    5555      <DataClassMoniker Name="/OKBDataContext/Algorithm" />
    5656      <nestedChildShapes>
    57         <elementListCompartment Id="5d0e5084-c74f-469d-bb56-da81ce2ce8d4" absoluteBounds="3.015, 0.96, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    58       </nestedChildShapes>
    59     </classShape>
    60     <associationConnector edgePoints="[(3 : 2.35); (2.75 : 2.35)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     57        <elementListCompartment Id="5d0e5084-c74f-469d-bb56-da81ce2ce8d4" absoluteBounds="2.7650000000000006, 0.96, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     58      </nestedChildShapes>
     59    </classShape>
     60    <associationConnector edgePoints="[(2.75 : 2.35); (2.5 : 2.35)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    6161      <AssociationMoniker Name="/OKBDataContext/Algorithm/Algorithm_AlgorithmUser" />
    6262      <nodes>
     
    6565      </nodes>
    6666    </associationConnector>
    67     <associationConnector edgePoints="[(2.75 : 1.19314697265625); (3 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     67    <associationConnector edgePoints="[(2.5 : 1.19314697265625); (2.75 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    6868      <AssociationMoniker Name="/OKBDataContext/AlgorithmClass/AlgorithmClass_Algorithm" />
    6969      <nodes>
     
    7272      </nodes>
    7373    </associationConnector>
    74     <associationConnector edgePoints="[(5.25 : 2.39024983723958); (5 : 2.39024983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     74    <associationConnector edgePoints="[(7 : 2.39024983723958); (4.75 : 2.39024983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    7575      <AssociationMoniker Name="/OKBDataContext/DataType/DataType_Algorithm" />
    7676      <nodes>
     
    7979      </nodes>
    8080    </associationConnector>
    81     <associationConnector edgePoints="[(5.25 : 1.19314697265625); (5 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     81    <associationConnector edgePoints="[(7 : 1.19314697265625); (4.75 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    8282      <AssociationMoniker Name="/OKBDataContext/Platform/Platform_Algorithm" />
    8383      <nodes>
     
    8686      </nodes>
    8787    </associationConnector>
    88     <classShape Id="f197afc9-8f2b-4dae-b87e-43c2c87796bb" absoluteBounds="7.5, 0.5, 2, 2.1554996744791666">
     88    <classShape Id="f197afc9-8f2b-4dae-b87e-43c2c87796bb" absoluteBounds="11.25, 0.5, 2, 2.1554996744791666">
    8989      <DataClassMoniker Name="/OKBDataContext/Problem" />
    9090      <nestedChildShapes>
    91         <elementListCompartment Id="9feb3034-0748-47df-aa82-41b7c3e8cdbd" absoluteBounds="7.5150000000000006, 0.96, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    92       </nestedChildShapes>
    93     </classShape>
    94     <associationConnector edgePoints="[(9.5 : 2.35); (9.75 : 2.35)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     91        <elementListCompartment Id="9feb3034-0748-47df-aa82-41b7c3e8cdbd" absoluteBounds="11.265, 0.96, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     92      </nestedChildShapes>
     93    </classShape>
     94    <associationConnector edgePoints="[(13.25 : 2.35); (13.5 : 2.35)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    9595      <AssociationMoniker Name="/OKBDataContext/Problem/Problem_ProblemUser" />
    9696      <nodes>
     
    9999      </nodes>
    100100    </associationConnector>
    101     <associationConnector edgePoints="[(7.25 : 2.39024983723958); (7.5 : 2.39024983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     101    <associationConnector edgePoints="[(9 : 2.39024983723958); (11.25 : 2.39024983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    102102      <AssociationMoniker Name="/OKBDataContext/DataType/DataType_Problem" />
    103103      <nodes>
     
    106106      </nodes>
    107107    </associationConnector>
    108     <associationConnector edgePoints="[(7.25 : 1.19314697265625); (7.5 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     108    <associationConnector edgePoints="[(9 : 1.19314697265625); (11.25 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    109109      <AssociationMoniker Name="/OKBDataContext/Platform/Platform_Problem" />
    110110      <nodes>
     
    113113      </nodes>
    114114    </associationConnector>
    115     <associationConnector edgePoints="[(9.75 : 1.19314697265625); (9.5 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     115    <associationConnector edgePoints="[(13.5 : 1.19314697265625); (13.25 : 1.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    116116      <AssociationMoniker Name="/OKBDataContext/ProblemClass/ProblemClass_Problem" />
    117117      <nodes>
     
    120120      </nodes>
    121121    </associationConnector>
    122     <classShape Id="c2a69525-596c-4c58-a8cb-cb8c616f52d1" absoluteBounds="5.375, 11.625, 2, 1.3862939453125">
     122    <classShape Id="c2a69525-596c-4c58-a8cb-cb8c616f52d1" absoluteBounds="7, 9.625, 2, 1.3862939453125">
    123123      <DataClassMoniker Name="/OKBDataContext/BinaryData" />
    124124      <nestedChildShapes>
    125         <elementListCompartment Id="d8ba4b42-b034-4f4d-88c6-ccc998db2567" absoluteBounds="5.39, 12.085, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    126       </nestedChildShapes>
    127     </classShape>
    128     <associationConnector edgePoints="[(5.375 : 12.5842332275421); (3.49119721701854 : 12.5842332275421); (3.49119721701854 : 2.65549967447917)]" fixedFrom="Caller" fixedTo="Caller">
     125        <elementListCompartment Id="d8ba4b42-b034-4f4d-88c6-ccc998db2567" absoluteBounds="7.0150000000000006, 10.085, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     126      </nestedChildShapes>
     127    </classShape>
     128    <associationConnector edgePoints="[(7 : 10.3182703039497); (3.05835246852252 : 10.3182703039497); (3.05835246852252 : 2.65549967447917)]" fixedFrom="Caller" fixedTo="Caller">
    129129      <AssociationMoniker Name="/OKBDataContext/BinaryData/BinaryData_Algorithm" />
    130130      <nodes>
     
    133133      </nodes>
    134134    </associationConnector>
    135     <associationConnector edgePoints="[(7.375 : 12.3181469726562); (9.03188819701693 : 12.3181469726562); (9.03188819701693 : 2.65549967447917)]" fixedFrom="Algorithm" fixedTo="Caller">
     135    <associationConnector edgePoints="[(9 : 10.3181469726562); (12.9275860029676 : 10.3181469726562); (12.9275860029676 : 2.65549967447917)]" fixedFrom="Algorithm" fixedTo="Caller">
    136136      <AssociationMoniker Name="/OKBDataContext/BinaryData/BinaryData_Problem" />
    137137      <nodes>
     
    140140      </nodes>
    141141    </associationConnector>
    142     <classShape Id="65934fe9-4206-4d20-971b-1afacf645311" absoluteBounds="5.375, 9.125, 2, 2.1554996744791666">
     142    <classShape Id="65934fe9-4206-4d20-971b-1afacf645311" absoluteBounds="5.75, 7.25, 2, 2.1554996744791666">
    143143      <DataClassMoniker Name="/OKBDataContext/Run" />
    144144      <nestedChildShapes>
    145         <elementListCompartment Id="14f0104d-03c2-4aec-9a4d-faeaaa1d8947" absoluteBounds="5.3900000000000006, 9.585, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    146       </nestedChildShapes>
    147     </classShape>
    148     <associationConnector edgePoints="[(3.83227639170838 : 2.65549967447917); (3.83227639170838 : 10.1875); (4.6605991084703 : 10.1875 : JumpStart); (4.82726577513696 : 10.1875 : JumpEnd); (5.375 : 10.1875)]" fixedFrom="Caller" fixedTo="Algorithm">
     145        <elementListCompartment Id="14f0104d-03c2-4aec-9a4d-faeaaa1d8947" absoluteBounds="5.7650000000000006, 7.7100000000000009, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     146      </nestedChildShapes>
     147    </classShape>
     148    <associationConnector edgePoints="[(3.27917873426126 : 2.65549967447917); (3.27917873426126 : 8.32774983723958); (5.75 : 8.32774983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    149149      <AssociationMoniker Name="/OKBDataContext/Algorithm/Algorithm_Run" />
    150150      <nodes>
     
    153153      </nodes>
    154154    </associationConnector>
    155     <associationConnector edgePoints="[(8.67740328851453 : 2.65549967447917); (8.67740328851453 : 10.2027498372396); (7.375 : 10.2027498372396)]" fixedFrom="Caller" fixedTo="Algorithm">
     155    <associationConnector edgePoints="[(12.7137905014838 : 2.65549967447917); (12.7137905014838 : 8.32774983723958); (8.13243692318721 : 8.32774983723958 : JumpStart); (7.96577025652055 : 8.32774983723958 : JumpEnd); (7.75 : 8.32774983723958)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    156156      <AssociationMoniker Name="/OKBDataContext/Problem/Problem_Run" />
    157157      <nodes>
     
    160160      </nodes>
    161161    </associationConnector>
    162     <classShape Id="7d592fcd-d7a9-4ad0-a69f-9d29b97d9995" absoluteBounds="5.25, 4, 2, 2.9247054036458331">
     162    <classShape Id="7d592fcd-d7a9-4ad0-a69f-9d29b97d9995" absoluteBounds="5.75, 4, 2, 2.9247054036458331">
    163163      <DataClassMoniker Name="/OKBDataContext/Value" />
    164164      <nestedChildShapes>
    165         <elementListCompartment Id="89ad14d6-7946-43fe-af7c-59ce9fbe1d96" absoluteBounds="5.2650000000000006, 4.46, 1.9700000000000002, 2.364705403645833" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    166       </nestedChildShapes>
    167     </classShape>
    168     <associationConnector edgePoints="[(5.375 : 12.0896030581781); (4.74393244180363 : 12.0896030581781); (4.74393244180363 : 5.49806911725718); (5.25 : 5.49806911725718)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller">
     165        <elementListCompartment Id="89ad14d6-7946-43fe-af7c-59ce9fbe1d96" absoluteBounds="5.7650000000000006, 4.46, 1.9700000000000002, 2.364705403645833" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     166      </nestedChildShapes>
     167    </classShape>
     168    <associationConnector edgePoints="[(8.04910358985388 : 9.625); (8.04910358985388 : 5.45496831242535); (7.75 : 5.45496831242535)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller">
    169169      <AssociationMoniker Name="/OKBDataContext/BinaryData/BinaryData_Value" />
    170170      <nodes>
     
    173173      </nodes>
    174174    </associationConnector>
    175     <associationConnector edgePoints="[(6.25 : 3.70359537760417); (6.25 : 4)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     175    <associationConnector edgePoints="[(7 : 3.07568669800201); (6.6959048132675 : 3.07568669800201); (6.6959048132675 : 4)]" fixedFrom="Caller" fixedTo="Caller">
    176176      <AssociationMoniker Name="/OKBDataContext/DataType/DataType_Value" />
    177177      <nodes>
     
    180180      </nodes>
    181181    </associationConnector>
    182     <associationConnector edgePoints="[(5.78125 : 9.125); (5.78125 : 6.92470540364583)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     182    <associationConnector edgePoints="[(6.72310950465391 : 7.25); (6.72027766059957 : 6.92470540364583)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller">
    183183      <AssociationMoniker Name="/OKBDataContext/Run/Run_Value" />
    184184      <nodes>
     
    187187      </nodes>
    188188    </associationConnector>
    189     <associationConnector edgePoints="[(6.75 : 7.25); (6.75 : 6.92470540364583)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     189    <associationConnector edgePoints="[(5.5 : 4.78929768880208); (5.75 : 4.78929768880208)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    190190      <AssociationMoniker Name="/OKBDataContext/ValueName/ValueName_Value" />
    191191      <nodes>
    192192        <classShapeMoniker Id="c75911bf-ae6d-421c-9219-e027c3059390" />
    193193        <classShapeMoniker Id="7d592fcd-d7a9-4ad0-a69f-9d29b97d9995" />
     194      </nodes>
     195    </associationConnector>
     196    <classShape Id="7fb3c838-3d13-4b45-9912-1b5733a61110" absoluteBounds="10.5, 4, 2, 1.3862939453125">
     197      <DataClassMoniker Name="/OKBDataContext/Characteristic" />
     198      <nestedChildShapes>
     199        <elementListCompartment Id="861faa11-366e-46d5-8fcb-1cef297d1920" absoluteBounds="10.515, 4.46, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     200      </nestedChildShapes>
     201    </classShape>
     202    <classShape Id="78f1d8c1-299d-46f8-90b5-e79d3904a0e6" absoluteBounds="8.25, 4, 2, 2.7324039713541666">
     203      <DataClassMoniker Name="/OKBDataContext/CharacteristicValue" />
     204      <nestedChildShapes>
     205        <elementListCompartment Id="c197bfb3-c90d-42e4-91a8-17775b4cc933" absoluteBounds="8.265, 4.46, 1.9700000000000002, 2.1724039713541665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     206      </nestedChildShapes>
     207    </classShape>
     208    <associationConnector edgePoints="[(10.5 : 4.69314697265625); (10.25 : 4.69314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
     209      <AssociationMoniker Name="/OKBDataContext/Characteristic/Characteristic_CharacteristicValue" />
     210      <nodes>
     211        <classShapeMoniker Id="7fb3c838-3d13-4b45-9912-1b5733a61110" />
     212        <classShapeMoniker Id="78f1d8c1-299d-46f8-90b5-e79d3904a0e6" />
     213      </nodes>
     214    </associationConnector>
     215    <associationConnector edgePoints="[(9 : 3.05278498857512); (9.24152226977744 : 3.05278498857512); (9.24152226977744 : 4)]" fixedFrom="Caller" fixedTo="Caller">
     216      <AssociationMoniker Name="/OKBDataContext/DataType/DataType_CharacteristicValue" />
     217      <nodes>
     218        <classShapeMoniker Id="34f5a12b-f109-4606-baf8-6ddfde7c1b34" />
     219        <classShapeMoniker Id="78f1d8c1-299d-46f8-90b5-e79d3904a0e6" />
     220      </nodes>
     221    </associationConnector>
     222    <associationConnector edgePoints="[(11.8118610455891 : 2.65549967447917); (11.8118610455891 : 3.0432292702094); (9.62689159819655 : 3.0432292702094); (9.62689159819655 : 4)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller">
     223      <AssociationMoniker Name="/OKBDataContext/Problem/Problem_CharacteristicValue" />
     224      <nodes>
     225        <classShapeMoniker Id="f197afc9-8f2b-4dae-b87e-43c2c87796bb" />
     226        <classShapeMoniker Id="78f1d8c1-299d-46f8-90b5-e79d3904a0e6" />
    194227      </nodes>
    195228    </associationConnector>
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB.DataAccess/3.3/OKB.designer.cs

    r5378 r5397  
    6767    partial void UpdateValue(Value instance);
    6868    partial void DeleteValue(Value instance);
     69    partial void InsertCharacteristic(Characteristic instance);
     70    partial void UpdateCharacteristic(Characteristic instance);
     71    partial void DeleteCharacteristic(Characteristic instance);
     72    partial void InsertCharacteristicValue(CharacteristicValue instance);
     73    partial void UpdateCharacteristicValue(CharacteristicValue instance);
     74    partial void DeleteCharacteristicValue(CharacteristicValue instance);
    6975    #endregion
    7076   
     
    192198      {
    193199        return this.GetTable<Value>();
     200      }
     201    }
     202   
     203    public System.Data.Linq.Table<Characteristic> Characteristics
     204    {
     205      get
     206      {
     207        return this.GetTable<Characteristic>();
     208      }
     209    }
     210   
     211    public System.Data.Linq.Table<CharacteristicValue> CharacteristicValues
     212    {
     213      get
     214      {
     215        return this.GetTable<CharacteristicValue>();
    194216      }
    195217    }
     
    939961   
    940962    private EntitySet<Value> _Values;
     963   
     964    private EntitySet<CharacteristicValue> _CharacteristicValues;
    941965   
    942966    private EntityRef<Platform> _Platform;
     
    961985      this._Problems = new EntitySet<Problem>(new Action<Problem>(this.attach_Problems), new Action<Problem>(this.detach_Problems));
    962986      this._Values = new EntitySet<Value>(new Action<Value>(this.attach_Values), new Action<Value>(this.detach_Values));
     987      this._CharacteristicValues = new EntitySet<CharacteristicValue>(new Action<CharacteristicValue>(this.attach_CharacteristicValues), new Action<CharacteristicValue>(this.detach_CharacteristicValues));
    963988      this._Platform = default(EntityRef<Platform>);
    964989      OnCreated();
     
    10881113    }
    10891114   
     1115    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="DataType_CharacteristicValue", Storage="_CharacteristicValues", ThisKey="Id", OtherKey="DataTypeId")]
     1116    public EntitySet<CharacteristicValue> CharacteristicValues
     1117    {
     1118      get
     1119      {
     1120        return this._CharacteristicValues;
     1121      }
     1122      set
     1123      {
     1124        this._CharacteristicValues.Assign(value);
     1125      }
     1126    }
     1127   
    10901128    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Platform_DataType", Storage="_Platform", ThisKey="PlatformId", OtherKey="Id", IsForeignKey=true)]
    10911129    public Platform Platform
     
    11731211   
    11741212    private void detach_Values(Value entity)
     1213    {
     1214      this.SendPropertyChanging();
     1215      entity.DataType = null;
     1216    }
     1217   
     1218    private void attach_CharacteristicValues(CharacteristicValue entity)
     1219    {
     1220      this.SendPropertyChanging();
     1221      entity.DataType = this;
     1222    }
     1223   
     1224    private void detach_CharacteristicValues(CharacteristicValue entity)
    11751225    {
    11761226      this.SendPropertyChanging();
     
    17911841    private EntitySet<Run> _Runs;
    17921842   
     1843    private EntitySet<CharacteristicValue> _CharacteristicValues;
     1844   
    17931845    private EntityRef<DataType> _DataType;
    17941846   
     
    18231875      this._ProblemUsers = new EntitySet<ProblemUser>(new Action<ProblemUser>(this.attach_ProblemUsers), new Action<ProblemUser>(this.detach_ProblemUsers));
    18241876      this._Runs = new EntitySet<Run>(new Action<Run>(this.attach_Runs), new Action<Run>(this.detach_Runs));
     1877      this._CharacteristicValues = new EntitySet<CharacteristicValue>(new Action<CharacteristicValue>(this.attach_CharacteristicValues), new Action<CharacteristicValue>(this.detach_CharacteristicValues));
    18251878      this._DataType = default(EntityRef<DataType>);
    18261879      this._Platform = default(EntityRef<Platform>);
     
    20122065    }
    20132066   
     2067    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Problem_CharacteristicValue", Storage="_CharacteristicValues", ThisKey="Id", OtherKey="ProblemId")]
     2068    public EntitySet<CharacteristicValue> CharacteristicValues
     2069    {
     2070      get
     2071      {
     2072        return this._CharacteristicValues;
     2073      }
     2074      set
     2075      {
     2076        this._CharacteristicValues.Assign(value);
     2077      }
     2078    }
     2079   
    20142080    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="DataType_Problem", Storage="_DataType", ThisKey="DataTypeId", OtherKey="Id", IsForeignKey=true)]
    20152081    public DataType DataType
     
    21872253   
    21882254    private void detach_Runs(Run entity)
     2255    {
     2256      this.SendPropertyChanging();
     2257      entity.Problem = null;
     2258    }
     2259   
     2260    private void attach_CharacteristicValues(CharacteristicValue entity)
     2261    {
     2262      this.SendPropertyChanging();
     2263      entity.Problem = this;
     2264    }
     2265   
     2266    private void detach_CharacteristicValues(CharacteristicValue entity)
    21892267    {
    21902268      this.SendPropertyChanging();
     
    31683246    }
    31693247  }
     3248 
     3249  [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Characteristic")]
     3250  public partial class Characteristic : INotifyPropertyChanging, INotifyPropertyChanged
     3251  {
     3252   
     3253    private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
     3254   
     3255    private long _Id;
     3256   
     3257    private string _Name;
     3258   
     3259    private byte _Type;
     3260   
     3261    private EntitySet<CharacteristicValue> _CharacteristicValues;
     3262   
     3263    #region Extensibility Method Definitions
     3264    partial void OnLoaded();
     3265    partial void OnValidate(System.Data.Linq.ChangeAction action);
     3266    partial void OnCreated();
     3267    partial void OnIdChanging(long value);
     3268    partial void OnIdChanged();
     3269    partial void OnNameChanging(string value);
     3270    partial void OnNameChanged();
     3271    partial void OnTypeChanging(byte value);
     3272    partial void OnTypeChanged();
     3273    #endregion
     3274   
     3275    public Characteristic()
     3276    {
     3277      this._CharacteristicValues = new EntitySet<CharacteristicValue>(new Action<CharacteristicValue>(this.attach_CharacteristicValues), new Action<CharacteristicValue>(this.detach_CharacteristicValues));
     3278      OnCreated();
     3279    }
     3280   
     3281    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
     3282    public long Id
     3283    {
     3284      get
     3285      {
     3286        return this._Id;
     3287      }
     3288      set
     3289      {
     3290        if ((this._Id != value))
     3291        {
     3292          this.OnIdChanging(value);
     3293          this.SendPropertyChanging();
     3294          this._Id = value;
     3295          this.SendPropertyChanged("Id");
     3296          this.OnIdChanged();
     3297        }
     3298      }
     3299    }
     3300   
     3301    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200) NOT NULL", CanBeNull=false)]
     3302    public string Name
     3303    {
     3304      get
     3305      {
     3306        return this._Name;
     3307      }
     3308      set
     3309      {
     3310        if ((this._Name != value))
     3311        {
     3312          this.OnNameChanging(value);
     3313          this.SendPropertyChanging();
     3314          this._Name = value;
     3315          this.SendPropertyChanged("Name");
     3316          this.OnNameChanged();
     3317        }
     3318      }
     3319    }
     3320   
     3321    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="TinyInt NOT NULL")]
     3322    public byte Type
     3323    {
     3324      get
     3325      {
     3326        return this._Type;
     3327      }
     3328      set
     3329      {
     3330        if ((this._Type != value))
     3331        {
     3332          this.OnTypeChanging(value);
     3333          this.SendPropertyChanging();
     3334          this._Type = value;
     3335          this.SendPropertyChanged("Type");
     3336          this.OnTypeChanged();
     3337        }
     3338      }
     3339    }
     3340   
     3341    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Characteristic_CharacteristicValue", Storage="_CharacteristicValues", ThisKey="Id", OtherKey="CharacteristicId")]
     3342    public EntitySet<CharacteristicValue> CharacteristicValues
     3343    {
     3344      get
     3345      {
     3346        return this._CharacteristicValues;
     3347      }
     3348      set
     3349      {
     3350        this._CharacteristicValues.Assign(value);
     3351      }
     3352    }
     3353   
     3354    public event PropertyChangingEventHandler PropertyChanging;
     3355   
     3356    public event PropertyChangedEventHandler PropertyChanged;
     3357   
     3358    protected virtual void SendPropertyChanging()
     3359    {
     3360      if ((this.PropertyChanging != null))
     3361      {
     3362        this.PropertyChanging(this, emptyChangingEventArgs);
     3363      }
     3364    }
     3365   
     3366    protected virtual void SendPropertyChanged(String propertyName)
     3367    {
     3368      if ((this.PropertyChanged != null))
     3369      {
     3370        this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
     3371      }
     3372    }
     3373   
     3374    private void attach_CharacteristicValues(CharacteristicValue entity)
     3375    {
     3376      this.SendPropertyChanging();
     3377      entity.Characteristic = this;
     3378    }
     3379   
     3380    private void detach_CharacteristicValues(CharacteristicValue entity)
     3381    {
     3382      this.SendPropertyChanging();
     3383      entity.Characteristic = null;
     3384    }
     3385  }
     3386 
     3387  [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CharacteristicValue")]
     3388  public partial class CharacteristicValue : INotifyPropertyChanging, INotifyPropertyChanged
     3389  {
     3390   
     3391    private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
     3392   
     3393    private long _Id;
     3394   
     3395    private long _ProblemId;
     3396   
     3397    private long _CharacteristicId;
     3398   
     3399    private long _DataTypeId;
     3400   
     3401    private System.Nullable<bool> _BoolValue;
     3402   
     3403    private System.Nullable<int> _IntValue;
     3404   
     3405    private System.Nullable<long> _LongValue;
     3406   
     3407    private System.Nullable<float> _FloatValue;
     3408   
     3409    private System.Nullable<double> _DoubleValue;
     3410   
     3411    private string _StringValue;
     3412   
     3413    private EntityRef<Characteristic> _Characteristic;
     3414   
     3415    private EntityRef<DataType> _DataType;
     3416   
     3417    private EntityRef<Problem> _Problem;
     3418   
     3419    #region Extensibility Method Definitions
     3420    partial void OnLoaded();
     3421    partial void OnValidate(System.Data.Linq.ChangeAction action);
     3422    partial void OnCreated();
     3423    partial void OnIdChanging(long value);
     3424    partial void OnIdChanged();
     3425    partial void OnProblemIdChanging(long value);
     3426    partial void OnProblemIdChanged();
     3427    partial void OnCharacteristicIdChanging(long value);
     3428    partial void OnCharacteristicIdChanged();
     3429    partial void OnDataTypeIdChanging(long value);
     3430    partial void OnDataTypeIdChanged();
     3431    partial void OnBoolValueChanging(System.Nullable<bool> value);
     3432    partial void OnBoolValueChanged();
     3433    partial void OnIntValueChanging(System.Nullable<int> value);
     3434    partial void OnIntValueChanged();
     3435    partial void OnLongValueChanging(System.Nullable<long> value);
     3436    partial void OnLongValueChanged();
     3437    partial void OnFloatValueChanging(System.Nullable<float> value);
     3438    partial void OnFloatValueChanged();
     3439    partial void OnDoubleValueChanging(System.Nullable<double> value);
     3440    partial void OnDoubleValueChanged();
     3441    partial void OnStringValueChanging(string value);
     3442    partial void OnStringValueChanged();
     3443    #endregion
     3444   
     3445    public CharacteristicValue()
     3446    {
     3447      this._Characteristic = default(EntityRef<Characteristic>);
     3448      this._DataType = default(EntityRef<DataType>);
     3449      this._Problem = default(EntityRef<Problem>);
     3450      OnCreated();
     3451    }
     3452   
     3453    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
     3454    public long Id
     3455    {
     3456      get
     3457      {
     3458        return this._Id;
     3459      }
     3460      set
     3461      {
     3462        if ((this._Id != value))
     3463        {
     3464          this.OnIdChanging(value);
     3465          this.SendPropertyChanging();
     3466          this._Id = value;
     3467          this.SendPropertyChanged("Id");
     3468          this.OnIdChanged();
     3469        }
     3470      }
     3471    }
     3472   
     3473    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemId", DbType="BigInt NOT NULL")]
     3474    public long ProblemId
     3475    {
     3476      get
     3477      {
     3478        return this._ProblemId;
     3479      }
     3480      set
     3481      {
     3482        if ((this._ProblemId != value))
     3483        {
     3484          if (this._Problem.HasLoadedOrAssignedValue)
     3485          {
     3486            throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
     3487          }
     3488          this.OnProblemIdChanging(value);
     3489          this.SendPropertyChanging();
     3490          this._ProblemId = value;
     3491          this.SendPropertyChanged("ProblemId");
     3492          this.OnProblemIdChanged();
     3493        }
     3494      }
     3495    }
     3496   
     3497    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CharacteristicId", DbType="BigInt NOT NULL")]
     3498    public long CharacteristicId
     3499    {
     3500      get
     3501      {
     3502        return this._CharacteristicId;
     3503      }
     3504      set
     3505      {
     3506        if ((this._CharacteristicId != value))
     3507        {
     3508          if (this._Characteristic.HasLoadedOrAssignedValue)
     3509          {
     3510            throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
     3511          }
     3512          this.OnCharacteristicIdChanging(value);
     3513          this.SendPropertyChanging();
     3514          this._CharacteristicId = value;
     3515          this.SendPropertyChanged("CharacteristicId");
     3516          this.OnCharacteristicIdChanged();
     3517        }
     3518      }
     3519    }
     3520   
     3521    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DataTypeId", DbType="BigInt NOT NULL")]
     3522    public long DataTypeId
     3523    {
     3524      get
     3525      {
     3526        return this._DataTypeId;
     3527      }
     3528      set
     3529      {
     3530        if ((this._DataTypeId != value))
     3531        {
     3532          if (this._DataType.HasLoadedOrAssignedValue)
     3533          {
     3534            throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
     3535          }
     3536          this.OnDataTypeIdChanging(value);
     3537          this.SendPropertyChanging();
     3538          this._DataTypeId = value;
     3539          this.SendPropertyChanged("DataTypeId");
     3540          this.OnDataTypeIdChanged();
     3541        }
     3542      }
     3543    }
     3544   
     3545    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BoolValue", DbType="Bit")]
     3546    public System.Nullable<bool> BoolValue
     3547    {
     3548      get
     3549      {
     3550        return this._BoolValue;
     3551      }
     3552      set
     3553      {
     3554        if ((this._BoolValue != value))
     3555        {
     3556          this.OnBoolValueChanging(value);
     3557          this.SendPropertyChanging();
     3558          this._BoolValue = value;
     3559          this.SendPropertyChanged("BoolValue");
     3560          this.OnBoolValueChanged();
     3561        }
     3562      }
     3563    }
     3564   
     3565    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IntValue", DbType="Int")]
     3566    public System.Nullable<int> IntValue
     3567    {
     3568      get
     3569      {
     3570        return this._IntValue;
     3571      }
     3572      set
     3573      {
     3574        if ((this._IntValue != value))
     3575        {
     3576          this.OnIntValueChanging(value);
     3577          this.SendPropertyChanging();
     3578          this._IntValue = value;
     3579          this.SendPropertyChanged("IntValue");
     3580          this.OnIntValueChanged();
     3581        }
     3582      }
     3583    }
     3584   
     3585    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LongValue", DbType="BigInt")]
     3586    public System.Nullable<long> LongValue
     3587    {
     3588      get
     3589      {
     3590        return this._LongValue;
     3591      }
     3592      set
     3593      {
     3594        if ((this._LongValue != value))
     3595        {
     3596          this.OnLongValueChanging(value);
     3597          this.SendPropertyChanging();
     3598          this._LongValue = value;
     3599          this.SendPropertyChanged("LongValue");
     3600          this.OnLongValueChanged();
     3601        }
     3602      }
     3603    }
     3604   
     3605    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FloatValue", DbType="Real")]
     3606    public System.Nullable<float> FloatValue
     3607    {
     3608      get
     3609      {
     3610        return this._FloatValue;
     3611      }
     3612      set
     3613      {
     3614        if ((this._FloatValue != value))
     3615        {
     3616          this.OnFloatValueChanging(value);
     3617          this.SendPropertyChanging();
     3618          this._FloatValue = value;
     3619          this.SendPropertyChanged("FloatValue");
     3620          this.OnFloatValueChanged();
     3621        }
     3622      }
     3623    }
     3624   
     3625    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DoubleValue", DbType="Float")]
     3626    public System.Nullable<double> DoubleValue
     3627    {
     3628      get
     3629      {
     3630        return this._DoubleValue;
     3631      }
     3632      set
     3633      {
     3634        if ((this._DoubleValue != value))
     3635        {
     3636          this.OnDoubleValueChanging(value);
     3637          this.SendPropertyChanging();
     3638          this._DoubleValue = value;
     3639          this.SendPropertyChanged("DoubleValue");
     3640          this.OnDoubleValueChanged();
     3641        }
     3642      }
     3643    }
     3644   
     3645    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StringValue", DbType="NVarChar(MAX)")]
     3646    public string StringValue
     3647    {
     3648      get
     3649      {
     3650        return this._StringValue;
     3651      }
     3652      set
     3653      {
     3654        if ((this._StringValue != value))
     3655        {
     3656          this.OnStringValueChanging(value);
     3657          this.SendPropertyChanging();
     3658          this._StringValue = value;
     3659          this.SendPropertyChanged("StringValue");
     3660          this.OnStringValueChanged();
     3661        }
     3662      }
     3663    }
     3664   
     3665    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Characteristic_CharacteristicValue", Storage="_Characteristic", ThisKey="CharacteristicId", OtherKey="Id", IsForeignKey=true)]
     3666    public Characteristic Characteristic
     3667    {
     3668      get
     3669      {
     3670        return this._Characteristic.Entity;
     3671      }
     3672      set
     3673      {
     3674        Characteristic previousValue = this._Characteristic.Entity;
     3675        if (((previousValue != value)
     3676              || (this._Characteristic.HasLoadedOrAssignedValue == false)))
     3677        {
     3678          this.SendPropertyChanging();
     3679          if ((previousValue != null))
     3680          {
     3681            this._Characteristic.Entity = null;
     3682            previousValue.CharacteristicValues.Remove(this);
     3683          }
     3684          this._Characteristic.Entity = value;
     3685          if ((value != null))
     3686          {
     3687            value.CharacteristicValues.Add(this);
     3688            this._CharacteristicId = value.Id;
     3689          }
     3690          else
     3691          {
     3692            this._CharacteristicId = default(long);
     3693          }
     3694          this.SendPropertyChanged("Characteristic");
     3695        }
     3696      }
     3697    }
     3698   
     3699    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="DataType_CharacteristicValue", Storage="_DataType", ThisKey="DataTypeId", OtherKey="Id", IsForeignKey=true)]
     3700    public DataType DataType
     3701    {
     3702      get
     3703      {
     3704        return this._DataType.Entity;
     3705      }
     3706      set
     3707      {
     3708        DataType previousValue = this._DataType.Entity;
     3709        if (((previousValue != value)
     3710              || (this._DataType.HasLoadedOrAssignedValue == false)))
     3711        {
     3712          this.SendPropertyChanging();
     3713          if ((previousValue != null))
     3714          {
     3715            this._DataType.Entity = null;
     3716            previousValue.CharacteristicValues.Remove(this);
     3717          }
     3718          this._DataType.Entity = value;
     3719          if ((value != null))
     3720          {
     3721            value.CharacteristicValues.Add(this);
     3722            this._DataTypeId = value.Id;
     3723          }
     3724          else
     3725          {
     3726            this._DataTypeId = default(long);
     3727          }
     3728          this.SendPropertyChanged("DataType");
     3729        }
     3730      }
     3731    }
     3732   
     3733    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Problem_CharacteristicValue", Storage="_Problem", ThisKey="ProblemId", OtherKey="Id", IsForeignKey=true)]
     3734    public Problem Problem
     3735    {
     3736      get
     3737      {
     3738        return this._Problem.Entity;
     3739      }
     3740      set
     3741      {
     3742        Problem previousValue = this._Problem.Entity;
     3743        if (((previousValue != value)
     3744              || (this._Problem.HasLoadedOrAssignedValue == false)))
     3745        {
     3746          this.SendPropertyChanging();
     3747          if ((previousValue != null))
     3748          {
     3749            this._Problem.Entity = null;
     3750            previousValue.CharacteristicValues.Remove(this);
     3751          }
     3752          this._Problem.Entity = value;
     3753          if ((value != null))
     3754          {
     3755            value.CharacteristicValues.Add(this);
     3756            this._ProblemId = value.Id;
     3757          }
     3758          else
     3759          {
     3760            this._ProblemId = default(long);
     3761          }
     3762          this.SendPropertyChanged("Problem");
     3763        }
     3764      }
     3765    }
     3766   
     3767    public event PropertyChangingEventHandler PropertyChanging;
     3768   
     3769    public event PropertyChangedEventHandler PropertyChanged;
     3770   
     3771    protected virtual void SendPropertyChanging()
     3772    {
     3773      if ((this.PropertyChanging != null))
     3774      {
     3775        this.PropertyChanging(this, emptyChangingEventArgs);
     3776      }
     3777    }
     3778   
     3779    protected virtual void SendPropertyChanged(String propertyName)
     3780    {
     3781      if ((this.PropertyChanged != null))
     3782      {
     3783        this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
     3784      }
     3785    }
     3786  }
    31703787}
    31713788#pragma warning restore 1591
Note: See TracChangeset for help on using the changeset viewer.