Free cookie consent management tool by TermsFeed Policy Generator

source: branches/GeneralizedQAP/HeuristicLab.Services.ProblemInstances/ProblemInstancesModel.edmx @ 6733

Last change on this file since 6733 was 6733, checked in by abeham, 13 years ago

#1619

  • Updated the model slightly
  • Deployed the service
  • Updated the GUI to perform asynchronous calls to the service
File size: 9.6 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
3  <!-- EF Runtime content -->
4  <edmx:Runtime>
5    <!-- SSDL content -->
6    <edmx:StorageModels>
7    <Schema Namespace="ProblemInstancesModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
8        <EntityContainer Name="ProblemInstancesModelStoreContainer">
9          <EntitySet Name="QAPInstance" EntityType="ProblemInstancesModel.Store.QAPInstance" store:Type="Tables" Schema="dbo" />
10          <EntitySet Name="QAPSolution" EntityType="ProblemInstancesModel.Store.QAPSolution" store:Type="Tables" Schema="dbo" />
11          <AssociationSet Name="FK_QAPSolution_QAPInstance" Association="ProblemInstancesModel.Store.FK_QAPSolution_QAPInstance">
12            <End Role="QAPInstance" EntitySet="QAPInstance" />
13            <End Role="QAPSolution" EntitySet="QAPSolution" />
14          </AssociationSet>
15        </EntityContainer>
16        <EntityType Name="QAPInstance">
17          <Key>
18            <PropertyRef Name="Name" />
19          </Key>
20          <Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="64" />
21          <Property Name="Description" Type="ntext" />
22          <Property Name="Maximization" Type="bit" Nullable="false" />
23          <Property Name="Weights" Type="varchar(max)" Nullable="false" />
24          <Property Name="WeightsHash" Type="char" Nullable="false" MaxLength="40" />
25          <Property Name="Distances" Type="varchar(max)" Nullable="false" />
26          <Property Name="DistancesHash" Type="char" Nullable="false" MaxLength="40" />
27          <Property Name="ProblemSize" Type="int" Nullable="false" />
28        </EntityType>
29        <EntityType Name="QAPSolution">
30          <Key>
31            <PropertyRef Name="Id" />
32          </Key>
33          <Property Name="Id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
34          <Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="64" />
35          <Property Name="Assignment" Type="text" />
36          <Property Name="AssignmentHash" Type="char" MaxLength="40" />
37          <Property Name="Quality" Type="float" Nullable="false" />
38        </EntityType>
39        <Association Name="FK_QAPSolution_QAPInstance">
40          <End Role="QAPInstance" Type="ProblemInstancesModel.Store.QAPInstance" Multiplicity="1">
41            <OnDelete Action="Cascade" />
42          </End>
43          <End Role="QAPSolution" Type="ProblemInstancesModel.Store.QAPSolution" Multiplicity="*" />
44          <ReferentialConstraint>
45            <Principal Role="QAPInstance">
46              <PropertyRef Name="Name" />
47            </Principal>
48            <Dependent Role="QAPSolution">
49              <PropertyRef Name="Name" />
50            </Dependent>
51          </ReferentialConstraint>
52        </Association>
53      </Schema></edmx:StorageModels>
54    <!-- CSDL content -->
55    <edmx:ConceptualModels>
56      <Schema Namespace="ProblemInstancesModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
57        <EntityContainer Name="ProblemInstancesEntities" annotation:LazyLoadingEnabled="true">
58          <EntitySet Name="QAPInstances" EntityType="ProblemInstancesModel.QAPInstance" />
59          <EntitySet Name="QAPSolutions" EntityType="ProblemInstancesModel.QAPSolution" />
60          <AssociationSet Name="FK_QAPSolution_QAPInstance1" Association="ProblemInstancesModel.FK_QAPSolution_QAPInstance1">
61            <End Role="QAPInstance" EntitySet="QAPInstances" />
62            <End Role="QAPSolution" EntitySet="QAPSolutions" />
63          </AssociationSet>
64        </EntityContainer>
65        <EntityType Name="QAPInstance">
66          <Key>
67            <PropertyRef Name="Name" />
68          </Key>
69          <Property Type="String" Name="Name" Nullable="false" MaxLength="64" FixedLength="false" Unicode="true" />
70          <Property Type="String" Name="Description" MaxLength="Max" FixedLength="false" Unicode="true" />
71          <Property Type="Boolean" Name="Maximization" Nullable="false" />
72          <Property Type="String" Name="Weights" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="false" />
73          <Property Type="String" Name="WeightsHash" Nullable="false" MaxLength="40" FixedLength="true" Unicode="false" />
74          <Property Type="String" Name="Distances" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="false" />
75          <Property Type="String" Name="DistancesHash" Nullable="false" MaxLength="40" FixedLength="true" Unicode="false" />
76          <NavigationProperty Name="Solutions" Relationship="ProblemInstancesModel.FK_QAPSolution_QAPInstance1" FromRole="QAPInstance" ToRole="QAPSolution" />
77          <Property Type="Int32" Name="ProblemSize" Nullable="false" />
78        </EntityType>
79        <EntityType Name="QAPSolution">
80          <Key>
81            <PropertyRef Name="Id" />
82          </Key>
83          <Property Type="Int32" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
84          <Property Type="String" Name="Name" Nullable="false" MaxLength="64" FixedLength="false" Unicode="true" />
85          <Property Type="String" Name="Assignment" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="false" />
86          <Property Type="String" Name="AssignmentHash" Nullable="false" MaxLength="40" FixedLength="true" Unicode="false" />
87          <Property Type="Double" Name="Quality" Nullable="false" />
88          <NavigationProperty Name="Instance" Relationship="ProblemInstancesModel.FK_QAPSolution_QAPInstance1" FromRole="QAPSolution" ToRole="QAPInstance" />
89        </EntityType>
90        <Association Name="FK_QAPSolution_QAPInstance1">
91          <End Type="ProblemInstancesModel.QAPInstance" Role="QAPInstance" Multiplicity="1" />
92          <End Type="ProblemInstancesModel.QAPSolution" Role="QAPSolution" Multiplicity="*" />
93          <ReferentialConstraint>
94            <Principal Role="QAPInstance">
95              <PropertyRef Name="Name" />
96            </Principal>
97            <Dependent Role="QAPSolution">
98              <PropertyRef Name="Name" />
99            </Dependent>
100          </ReferentialConstraint>
101        </Association>
102      </Schema>
103    </edmx:ConceptualModels>
104    <!-- C-S mapping content -->
105    <edmx:Mappings>
106      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
107        <EntityContainerMapping StorageEntityContainer="ProblemInstancesModelStoreContainer" CdmEntityContainer="ProblemInstancesEntities">
108          <EntitySetMapping Name="QAPInstances"><EntityTypeMapping TypeName="ProblemInstancesModel.QAPInstance"><MappingFragment StoreEntitySet="QAPInstance">
109            <ScalarProperty Name="ProblemSize" ColumnName="ProblemSize" />
110                <ScalarProperty Name="DistancesHash" ColumnName="DistancesHash" />
111                <ScalarProperty Name="Distances" ColumnName="Distances" />
112                <ScalarProperty Name="WeightsHash" ColumnName="WeightsHash" />
113                <ScalarProperty Name="Weights" ColumnName="Weights" />
114                <ScalarProperty Name="Maximization" ColumnName="Maximization" />
115                <ScalarProperty Name="Description" ColumnName="Description" />
116                <ScalarProperty Name="Name" ColumnName="Name" />
117              </MappingFragment></EntityTypeMapping></EntitySetMapping>
118          <EntitySetMapping Name="QAPSolutions"><EntityTypeMapping TypeName="ProblemInstancesModel.QAPSolution"><MappingFragment StoreEntitySet="QAPSolution">
119            <ScalarProperty Name="Quality" ColumnName="Quality" />
120                <ScalarProperty Name="AssignmentHash" ColumnName="AssignmentHash" />
121                <ScalarProperty Name="Assignment" ColumnName="Assignment" />
122                <ScalarProperty Name="Name" ColumnName="Name" />
123                <ScalarProperty Name="Id" ColumnName="Id" />
124              </MappingFragment></EntityTypeMapping></EntitySetMapping>
125        </EntityContainerMapping>
126      </Mapping>
127    </edmx:Mappings>
128  </edmx:Runtime>
129  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
130  <Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
131    <Connection>
132      <DesignerInfoPropertySet>
133        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
134      </DesignerInfoPropertySet>
135    </Connection>
136    <Options>
137      <DesignerInfoPropertySet>
138        <DesignerProperty Name="ValidateOnBuild" Value="true" />
139        <DesignerProperty Name="EnablePluralization" Value="False" />
140        <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
141      </DesignerInfoPropertySet>
142    </Options>
143    <!-- Diagram content (shape and connector positions) -->
144    <Diagrams>
145      <Diagram Name="ProblemInstancesModel">
146        <EntityTypeShape EntityType="ProblemInstancesModel.QAPInstance" Width="1.5" PointX="0.75" PointY="1" Height="2.7494921874999996" IsExpanded="true" />
147        <EntityTypeShape EntityType="ProblemInstancesModel.QAPSolution" Width="1.5" PointX="3" PointY="1.25" Height="2.172587890625" IsExpanded="true" />
148        <AssociationConnector Association="ProblemInstancesModel.FK_QAPSolution_QAPInstance1" >
149          <ConnectorPoint PointX="2.25" PointY="2.3362939453125" />
150          <ConnectorPoint PointX="3" PointY="2.3362939453125" />
151        </AssociationConnector>
152      </Diagram>
153    </Diagrams>
154  </Designer>
155</edmx:Edmx>
Note: See TracBrowser for help on using the repository browser.