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="text" Nullable="false" />
|
---|
24 | <Property Name="weights_sha1" Type="char" Nullable="false" MaxLength="40" />
|
---|
25 | <Property Name="distances" Type="text" Nullable="false" />
|
---|
26 | <Property Name="distances_sha1" 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" Nullable="false" />
|
---|
36 | <Property Name="assignment_sha1" Type="char" Nullable="false" 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>
|
---|
54 | </edmx:StorageModels>
|
---|
55 | <!-- CSDL content -->
|
---|
56 | <edmx:ConceptualModels>
|
---|
57 | <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">
|
---|
58 | <EntityContainer Name="ProblemInstancesEntities" annotation:LazyLoadingEnabled="true">
|
---|
59 | <EntitySet Name="QAPInstances" EntityType="ProblemInstancesModel.QAPInstance" />
|
---|
60 | <EntitySet Name="QAPSolutions" EntityType="ProblemInstancesModel.QAPSolution" />
|
---|
61 | <AssociationSet Name="FK_QAPSolution_QAPInstance" Association="ProblemInstancesModel.FK_QAPSolution_QAPInstance">
|
---|
62 | <End Role="QAPInstance" EntitySet="QAPInstances" />
|
---|
63 | <End Role="QAPSolution" EntitySet="QAPSolutions" />
|
---|
64 | </AssociationSet>
|
---|
65 | </EntityContainer>
|
---|
66 | <EntityType Name="QAPInstance">
|
---|
67 | <Key>
|
---|
68 | <PropertyRef Name="name" />
|
---|
69 | </Key>
|
---|
70 | <Property Name="name" Type="String" Nullable="false" MaxLength="64" Unicode="true" FixedLength="false" />
|
---|
71 | <Property Name="description" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
|
---|
72 | <Property Name="maximization" Type="Boolean" Nullable="false" />
|
---|
73 | <Property Name="weights" Type="String" Nullable="false" MaxLength="Max" Unicode="false" FixedLength="false" />
|
---|
74 | <Property Name="weights_sha1" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="true" />
|
---|
75 | <Property Name="distances" Type="String" Nullable="false" MaxLength="Max" Unicode="false" FixedLength="false" />
|
---|
76 | <Property Name="distances_sha1" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="true" />
|
---|
77 | <Property Name="problemsize" Type="Int32" Nullable="false" />
|
---|
78 | <NavigationProperty Name="QAPSolutions" Relationship="ProblemInstancesModel.FK_QAPSolution_QAPInstance" FromRole="QAPInstance" ToRole="QAPSolution" />
|
---|
79 | </EntityType>
|
---|
80 | <EntityType Name="QAPSolution">
|
---|
81 | <Key>
|
---|
82 | <PropertyRef Name="id" />
|
---|
83 | </Key>
|
---|
84 | <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
---|
85 | <Property Name="name" Type="String" Nullable="false" MaxLength="64" Unicode="true" FixedLength="false" />
|
---|
86 | <Property Name="assignment" Type="String" Nullable="false" MaxLength="Max" Unicode="false" FixedLength="false" />
|
---|
87 | <Property Name="assignment_sha1" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="true" />
|
---|
88 | <Property Name="quality" Type="Double" Nullable="false" />
|
---|
89 | <NavigationProperty Name="QAPInstance" Relationship="ProblemInstancesModel.FK_QAPSolution_QAPInstance" FromRole="QAPSolution" ToRole="QAPInstance" />
|
---|
90 | </EntityType>
|
---|
91 | <Association Name="FK_QAPSolution_QAPInstance">
|
---|
92 | <End Role="QAPInstance" Type="ProblemInstancesModel.QAPInstance" Multiplicity="1">
|
---|
93 | <OnDelete Action="Cascade" />
|
---|
94 | </End>
|
---|
95 | <End Role="QAPSolution" Type="ProblemInstancesModel.QAPSolution" Multiplicity="*" />
|
---|
96 | <ReferentialConstraint>
|
---|
97 | <Principal Role="QAPInstance">
|
---|
98 | <PropertyRef Name="name" />
|
---|
99 | </Principal>
|
---|
100 | <Dependent Role="QAPSolution">
|
---|
101 | <PropertyRef Name="name" />
|
---|
102 | </Dependent>
|
---|
103 | </ReferentialConstraint>
|
---|
104 | </Association>
|
---|
105 | </Schema>
|
---|
106 | </edmx:ConceptualModels>
|
---|
107 | <!-- C-S mapping content -->
|
---|
108 | <edmx:Mappings>
|
---|
109 | <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
|
---|
110 | <EntityContainerMapping StorageEntityContainer="ProblemInstancesModelStoreContainer" CdmEntityContainer="ProblemInstancesEntities">
|
---|
111 | <EntitySetMapping Name="QAPInstances"><EntityTypeMapping TypeName="ProblemInstancesModel.QAPInstance"><MappingFragment StoreEntitySet="QAPInstance">
|
---|
112 | <ScalarProperty Name="name" ColumnName="name" />
|
---|
113 | <ScalarProperty Name="description" ColumnName="description" />
|
---|
114 | <ScalarProperty Name="maximization" ColumnName="maximization" />
|
---|
115 | <ScalarProperty Name="weights" ColumnName="weights" />
|
---|
116 | <ScalarProperty Name="weights_sha1" ColumnName="weights_sha1" />
|
---|
117 | <ScalarProperty Name="distances" ColumnName="distances" />
|
---|
118 | <ScalarProperty Name="distances_sha1" ColumnName="distances_sha1" />
|
---|
119 | <ScalarProperty Name="problemsize" ColumnName="problemsize" />
|
---|
120 | </MappingFragment></EntityTypeMapping></EntitySetMapping>
|
---|
121 | <EntitySetMapping Name="QAPSolutions"><EntityTypeMapping TypeName="ProblemInstancesModel.QAPSolution"><MappingFragment StoreEntitySet="QAPSolution">
|
---|
122 | <ScalarProperty Name="id" ColumnName="id" />
|
---|
123 | <ScalarProperty Name="name" ColumnName="name" />
|
---|
124 | <ScalarProperty Name="assignment" ColumnName="assignment" />
|
---|
125 | <ScalarProperty Name="assignment_sha1" ColumnName="assignment_sha1" />
|
---|
126 | <ScalarProperty Name="quality" ColumnName="quality" />
|
---|
127 | </MappingFragment></EntityTypeMapping></EntitySetMapping>
|
---|
128 | </EntityContainerMapping>
|
---|
129 | </Mapping>
|
---|
130 | </edmx:Mappings>
|
---|
131 | </edmx:Runtime>
|
---|
132 | <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
|
---|
133 | <Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
|
---|
134 | <Connection>
|
---|
135 | <DesignerInfoPropertySet>
|
---|
136 | <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
|
---|
137 | </DesignerInfoPropertySet>
|
---|
138 | </Connection>
|
---|
139 | <Options>
|
---|
140 | <DesignerInfoPropertySet>
|
---|
141 | <DesignerProperty Name="ValidateOnBuild" Value="true" />
|
---|
142 | <DesignerProperty Name="EnablePluralization" Value="False" />
|
---|
143 | <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
|
---|
144 | </DesignerInfoPropertySet>
|
---|
145 | </Options>
|
---|
146 | <!-- Diagram content (shape and connector positions) -->
|
---|
147 | <Diagrams>
|
---|
148 | <Diagram Name="ProblemInstancesModel">
|
---|
149 | <EntityTypeShape EntityType="ProblemInstancesModel.QAPInstance" Width="1.5" PointX="0.75" PointY="1" Height="2.7494921874999996" IsExpanded="true" />
|
---|
150 | <EntityTypeShape EntityType="ProblemInstancesModel.QAPSolution" Width="1.5" PointX="3" PointY="1.25" Height="2.1725878906249996" IsExpanded="true" />
|
---|
151 | <AssociationConnector Association="ProblemInstancesModel.FK_QAPSolution_QAPInstance" ManuallyRouted="false">
|
---|
152 | <ConnectorPoint PointX="2.25" PointY="2.3362939453125" />
|
---|
153 | <ConnectorPoint PointX="3" PointY="2.3362939453125" />
|
---|
154 | </AssociationConnector>
|
---|
155 | </Diagram>
|
---|
156 | </Diagrams>
|
---|
157 | </Designer>
|
---|
158 | </edmx:Edmx> |
---|