Model1.edmx 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  3. <!-- EF Runtime content -->
  4. <edmx:Runtime>
  5. <!-- SSDL content -->
  6. <edmx:StorageModels>
  7. <Schema Namespace="Хранилище gr692_zrrModel" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
  8. <EntityType Name="IshodMassiv">
  9. <Key>
  10. <PropertyRef Name="ID" />
  11. </Key>
  12. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="Ishod" Type="int" Nullable="false" />
  14. </EntityType>
  15. <EntityType Name="Mat">
  16. <Key>
  17. <PropertyRef Name="ID" />
  18. </Key>
  19. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  20. <Property Name="matrix" Type="int" Nullable="false" />
  21. <Property Name="ID_ishodmassiv" Type="int" Nullable="false" />
  22. </EntityType>
  23. <Association Name="FK_Mat_IshodMassiv">
  24. <End Role="IshodMassiv" Type="Self.IshodMassiv" Multiplicity="1" />
  25. <End Role="Mat" Type="Self.Mat" Multiplicity="*" />
  26. <ReferentialConstraint>
  27. <Principal Role="IshodMassiv">
  28. <PropertyRef Name="ID" />
  29. </Principal>
  30. <Dependent Role="Mat">
  31. <PropertyRef Name="ID_ishodmassiv" />
  32. </Dependent>
  33. </ReferentialConstraint>
  34. </Association>
  35. <Function Name="AddOrders" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  36. <Parameter Name="ProdectId" Type="int" Mode="In" />
  37. <Parameter Name="CustomerId" Type="int" Mode="In" />
  38. <Parameter Name="CreateAt" Type="date" Mode="In" />
  39. <Parameter Name="ProductCount" Type="int" Mode="In" />
  40. <Parameter Name="Price" Type="money" Mode="In" />
  41. </Function>
  42. <Function Name="AddProduct" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  43. <Parameter Name="name" Type="nvarchar" Mode="In" />
  44. <Parameter Name="manufacturer" Type="nvarchar" Mode="In" />
  45. <Parameter Name="count" Type="int" Mode="In" />
  46. <Parameter Name="price" Type="money" Mode="In" />
  47. </Function>
  48. <Function Name="AddProductWithOptionalCount" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  49. <Parameter Name="name" Type="nvarchar" Mode="In" />
  50. <Parameter Name="manufacturer" Type="nvarchar" Mode="In" />
  51. <Parameter Name="price" Type="money" Mode="In" />
  52. <Parameter Name="count" Type="int" Mode="In" />
  53. </Function>
  54. <Function Name="avg1" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  55. <Function Name="Customers_proc" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  56. <Parameter Name="fNAME" Type="nvarchar" Mode="In" />
  57. <Parameter Name="lNAME" Type="nvarchar" Mode="In" />
  58. <Parameter Name="mail" Type="nvarchar" Mode="In" />
  59. <Parameter Name="phone" Type="nvarchar" Mode="In" />
  60. </Function>
  61. <Function Name="data1" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  62. <Function Name="fn_diagramobjects" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" ReturnType="int" />
  63. <Function Name="Orders_proc" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  64. <Parameter Name="custId" Type="int" Mode="In" />
  65. <Parameter Name="creat" Type="date" Mode="In" />
  66. <Parameter Name="priceMoney" Type="money" Mode="In" />
  67. </Function>
  68. <Function Name="Products_proc" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  69. <Parameter Name="pNAME" Type="nvarchar" Mode="In" />
  70. <Parameter Name="man" Type="nvarchar" Mode="In" />
  71. <Parameter Name="prodCount" Type="int" Mode="In" />
  72. <Parameter Name="price" Type="money" Mode="In" />
  73. </Function>
  74. <Function Name="ProductSummary" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  75. <Function Name="sp_alterdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  76. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  77. <Parameter Name="owner_id" Type="int" Mode="In" />
  78. <Parameter Name="version" Type="int" Mode="In" />
  79. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  80. </Function>
  81. <Function Name="sp_creatediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  82. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  83. <Parameter Name="owner_id" Type="int" Mode="In" />
  84. <Parameter Name="version" Type="int" Mode="In" />
  85. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  86. </Function>
  87. <Function Name="sp_dropdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  88. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  89. <Parameter Name="owner_id" Type="int" Mode="In" />
  90. </Function>
  91. <Function Name="sp_helpdiagramdefinition" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  92. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  93. <Parameter Name="owner_id" Type="int" Mode="In" />
  94. </Function>
  95. <Function Name="sp_helpdiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  96. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  97. <Parameter Name="owner_id" Type="int" Mode="In" />
  98. </Function>
  99. <Function Name="sp_renamediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  100. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  101. <Parameter Name="owner_id" Type="int" Mode="In" />
  102. <Parameter Name="new_diagramname" Type="nvarchar" Mode="In" />
  103. </Function>
  104. <Function Name="sp_upgraddiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  105. <EntityContainer Name="Хранилище gr692_zrrModelContainer">
  106. <EntitySet Name="IshodMassiv" EntityType="Self.IshodMassiv" Schema="dbo" store:Type="Tables" />
  107. <EntitySet Name="Mat" EntityType="Self.Mat" Schema="dbo" store:Type="Tables" />
  108. <AssociationSet Name="FK_Mat_IshodMassiv" Association="Self.FK_Mat_IshodMassiv">
  109. <End Role="IshodMassiv" EntitySet="IshodMassiv" />
  110. <End Role="Mat" EntitySet="Mat" />
  111. </AssociationSet>
  112. </EntityContainer>
  113. </Schema>
  114. </edmx:StorageModels>
  115. <!-- CSDL content -->
  116. <edmx:ConceptualModels>
  117. <Schema Namespace="gr692_zrrModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
  118. <EntityType Name="IshodMassiv">
  119. <Key>
  120. <PropertyRef Name="ID" />
  121. </Key>
  122. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  123. <Property Name="Ishod" Type="Int32" Nullable="false" />
  124. <NavigationProperty Name="Mat" Relationship="Self.FK_Mat_IshodMassiv" FromRole="IshodMassiv" ToRole="Mat" />
  125. </EntityType>
  126. <EntityType Name="Mat">
  127. <Key>
  128. <PropertyRef Name="ID" />
  129. </Key>
  130. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  131. <Property Name="matrix" Type="Int32" Nullable="false" />
  132. <Property Name="ID_ishodmassiv" Type="Int32" Nullable="false" />
  133. <NavigationProperty Name="IshodMassiv" Relationship="Self.FK_Mat_IshodMassiv" FromRole="Mat" ToRole="IshodMassiv" />
  134. </EntityType>
  135. <Association Name="FK_Mat_IshodMassiv">
  136. <End Role="IshodMassiv" Type="Self.IshodMassiv" Multiplicity="1" />
  137. <End Role="Mat" Type="Self.Mat" Multiplicity="*" />
  138. <ReferentialConstraint>
  139. <Principal Role="IshodMassiv">
  140. <PropertyRef Name="ID" />
  141. </Principal>
  142. <Dependent Role="Mat">
  143. <PropertyRef Name="ID_ishodmassiv" />
  144. </Dependent>
  145. </ReferentialConstraint>
  146. </Association>
  147. <EntityContainer Name="gr692_zrrEntities" annotation:LazyLoadingEnabled="true">
  148. <EntitySet Name="IshodMassiv" EntityType="Self.IshodMassiv" />
  149. <EntitySet Name="Mat" EntityType="Self.Mat" />
  150. <AssociationSet Name="FK_Mat_IshodMassiv" Association="Self.FK_Mat_IshodMassiv">
  151. <End Role="IshodMassiv" EntitySet="IshodMassiv" />
  152. <End Role="Mat" EntitySet="Mat" />
  153. </AssociationSet>
  154. <FunctionImport Name="AddOrders">
  155. <Parameter Name="ProdectId" Mode="In" Type="Int32" />
  156. <Parameter Name="CustomerId" Mode="In" Type="Int32" />
  157. <Parameter Name="CreateAt" Mode="In" Type="DateTime" />
  158. <Parameter Name="ProductCount" Mode="In" Type="Int32" />
  159. <Parameter Name="Price" Mode="In" Type="Decimal" />
  160. </FunctionImport>
  161. <FunctionImport Name="AddProduct">
  162. <Parameter Name="name" Mode="In" Type="String" />
  163. <Parameter Name="manufacturer" Mode="In" Type="String" />
  164. <Parameter Name="count" Mode="In" Type="Int32" />
  165. <Parameter Name="price" Mode="In" Type="Decimal" />
  166. </FunctionImport>
  167. <FunctionImport Name="AddProductWithOptionalCount">
  168. <Parameter Name="name" Mode="In" Type="String" />
  169. <Parameter Name="manufacturer" Mode="In" Type="String" />
  170. <Parameter Name="price" Mode="In" Type="Decimal" />
  171. <Parameter Name="count" Mode="In" Type="Int32" />
  172. </FunctionImport>
  173. <FunctionImport Name="avg1" />
  174. <FunctionImport Name="Customers_proc">
  175. <Parameter Name="fNAME" Mode="In" Type="String" />
  176. <Parameter Name="lNAME" Mode="In" Type="String" />
  177. <Parameter Name="mail" Mode="In" Type="String" />
  178. <Parameter Name="phone" Mode="In" Type="String" />
  179. </FunctionImport>
  180. <FunctionImport Name="data1" />
  181. <FunctionImport Name="Orders_proc">
  182. <Parameter Name="custId" Mode="In" Type="Int32" />
  183. <Parameter Name="creat" Mode="In" Type="DateTime" />
  184. <Parameter Name="priceMoney" Mode="In" Type="Decimal" />
  185. </FunctionImport>
  186. <FunctionImport Name="Products_proc">
  187. <Parameter Name="pNAME" Mode="In" Type="String" />
  188. <Parameter Name="man" Mode="In" Type="String" />
  189. <Parameter Name="prodCount" Mode="In" Type="Int32" />
  190. <Parameter Name="price" Mode="In" Type="Decimal" />
  191. </FunctionImport>
  192. <FunctionImport Name="ProductSummary" />
  193. <FunctionImport Name="sp_alterdiagram">
  194. <Parameter Name="diagramname" Mode="In" Type="String" />
  195. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  196. <Parameter Name="version" Mode="In" Type="Int32" />
  197. <Parameter Name="definition" Mode="In" Type="Binary" />
  198. </FunctionImport>
  199. <FunctionImport Name="sp_creatediagram">
  200. <Parameter Name="diagramname" Mode="In" Type="String" />
  201. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  202. <Parameter Name="version" Mode="In" Type="Int32" />
  203. <Parameter Name="definition" Mode="In" Type="Binary" />
  204. </FunctionImport>
  205. <FunctionImport Name="sp_dropdiagram">
  206. <Parameter Name="diagramname" Mode="In" Type="String" />
  207. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  208. </FunctionImport>
  209. <FunctionImport Name="sp_helpdiagramdefinition" ReturnType="Collection(gr692_zrrModel.sp_helpdiagramdefinition_Result)">
  210. <Parameter Name="diagramname" Mode="In" Type="String" />
  211. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  212. </FunctionImport>
  213. <FunctionImport Name="sp_helpdiagrams" ReturnType="Collection(gr692_zrrModel.sp_helpdiagrams_Result)">
  214. <Parameter Name="diagramname" Mode="In" Type="String" />
  215. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  216. </FunctionImport>
  217. <FunctionImport Name="sp_renamediagram">
  218. <Parameter Name="diagramname" Mode="In" Type="String" />
  219. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  220. <Parameter Name="new_diagramname" Mode="In" Type="String" />
  221. </FunctionImport>
  222. <FunctionImport Name="sp_upgraddiagrams" />
  223. </EntityContainer>
  224. <ComplexType Name="sp_helpdiagramdefinition_Result">
  225. <Property Type="Int32" Name="version" Nullable="true" />
  226. <Property Type="Binary" Name="definition" Nullable="true" />
  227. </ComplexType>
  228. <ComplexType Name="sp_helpdiagrams_Result">
  229. <Property Type="String" Name="Database" Nullable="true" MaxLength="128" />
  230. <Property Type="String" Name="Name" Nullable="false" MaxLength="128" />
  231. <Property Type="Int32" Name="ID" Nullable="false" />
  232. <Property Type="String" Name="Owner" Nullable="true" MaxLength="128" />
  233. <Property Type="Int32" Name="OwnerID" Nullable="false" />
  234. </ComplexType>
  235. </Schema>
  236. </edmx:ConceptualModels>
  237. <!-- C-S mapping content -->
  238. <edmx:Mappings>
  239. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  240. <EntityContainerMapping StorageEntityContainer="Хранилище gr692_zrrModelContainer" CdmEntityContainer="gr692_zrrEntities">
  241. <EntitySetMapping Name="IshodMassiv">
  242. <EntityTypeMapping TypeName="gr692_zrrModel.IshodMassiv">
  243. <MappingFragment StoreEntitySet="IshodMassiv">
  244. <ScalarProperty Name="ID" ColumnName="ID" />
  245. <ScalarProperty Name="Ishod" ColumnName="Ishod" />
  246. </MappingFragment>
  247. </EntityTypeMapping>
  248. </EntitySetMapping>
  249. <EntitySetMapping Name="Mat">
  250. <EntityTypeMapping TypeName="gr692_zrrModel.Mat">
  251. <MappingFragment StoreEntitySet="Mat">
  252. <ScalarProperty Name="ID" ColumnName="ID" />
  253. <ScalarProperty Name="matrix" ColumnName="matrix" />
  254. <ScalarProperty Name="ID_ishodmassiv" ColumnName="ID_ishodmassiv" />
  255. </MappingFragment>
  256. </EntityTypeMapping>
  257. </EntitySetMapping>
  258. <FunctionImportMapping FunctionImportName="AddOrders" FunctionName="Хранилище gr692_zrrModel.AddOrders" />
  259. <FunctionImportMapping FunctionImportName="AddProduct" FunctionName="Хранилище gr692_zrrModel.AddProduct" />
  260. <FunctionImportMapping FunctionImportName="AddProductWithOptionalCount" FunctionName="Хранилище gr692_zrrModel.AddProductWithOptionalCount" />
  261. <FunctionImportMapping FunctionImportName="avg1" FunctionName="Хранилище gr692_zrrModel.avg1" />
  262. <FunctionImportMapping FunctionImportName="Customers_proc" FunctionName="Хранилище gr692_zrrModel.Customers_proc" />
  263. <FunctionImportMapping FunctionImportName="data1" FunctionName="Хранилище gr692_zrrModel.data1" />
  264. <FunctionImportMapping FunctionImportName="Orders_proc" FunctionName="Хранилище gr692_zrrModel.Orders_proc" />
  265. <FunctionImportMapping FunctionImportName="Products_proc" FunctionName="Хранилище gr692_zrrModel.Products_proc" />
  266. <FunctionImportMapping FunctionImportName="ProductSummary" FunctionName="Хранилище gr692_zrrModel.ProductSummary" />
  267. <FunctionImportMapping FunctionImportName="sp_alterdiagram" FunctionName="Хранилище gr692_zrrModel.sp_alterdiagram" />
  268. <FunctionImportMapping FunctionImportName="sp_creatediagram" FunctionName="Хранилище gr692_zrrModel.sp_creatediagram" />
  269. <FunctionImportMapping FunctionImportName="sp_dropdiagram" FunctionName="Хранилище gr692_zrrModel.sp_dropdiagram" />
  270. <FunctionImportMapping FunctionImportName="sp_helpdiagramdefinition" FunctionName="Хранилище gr692_zrrModel.sp_helpdiagramdefinition">
  271. <ResultMapping>
  272. <ComplexTypeMapping TypeName="gr692_zrrModel.sp_helpdiagramdefinition_Result">
  273. <ScalarProperty Name="version" ColumnName="version" />
  274. <ScalarProperty Name="definition" ColumnName="definition" />
  275. </ComplexTypeMapping>
  276. </ResultMapping>
  277. </FunctionImportMapping>
  278. <FunctionImportMapping FunctionImportName="sp_helpdiagrams" FunctionName="Хранилище gr692_zrrModel.sp_helpdiagrams">
  279. <ResultMapping>
  280. <ComplexTypeMapping TypeName="gr692_zrrModel.sp_helpdiagrams_Result">
  281. <ScalarProperty Name="Database" ColumnName="Database" />
  282. <ScalarProperty Name="Name" ColumnName="Name" />
  283. <ScalarProperty Name="ID" ColumnName="ID" />
  284. <ScalarProperty Name="Owner" ColumnName="Owner" />
  285. <ScalarProperty Name="OwnerID" ColumnName="OwnerID" />
  286. </ComplexTypeMapping>
  287. </ResultMapping>
  288. </FunctionImportMapping>
  289. <FunctionImportMapping FunctionImportName="sp_renamediagram" FunctionName="Хранилище gr692_zrrModel.sp_renamediagram" />
  290. <FunctionImportMapping FunctionImportName="sp_upgraddiagrams" FunctionName="Хранилище gr692_zrrModel.sp_upgraddiagrams" />
  291. </EntityContainerMapping>
  292. </Mapping>
  293. </edmx:Mappings>
  294. </edmx:Runtime>
  295. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  296. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  297. <Connection>
  298. <DesignerInfoPropertySet>
  299. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  300. </DesignerInfoPropertySet>
  301. </Connection>
  302. <Options>
  303. <DesignerInfoPropertySet>
  304. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  305. <DesignerProperty Name="EnablePluralization" Value="false" />
  306. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  307. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  308. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  309. </DesignerInfoPropertySet>
  310. </Options>
  311. <!-- Diagram content (shape and connector positions) -->
  312. <Diagrams></Diagrams>
  313. </Designer>
  314. </edmx:Edmx>