123.ssdl 1.1 KB

123456789101112131415161718
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Schema Namespace="Хранилище Model1" 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">
  3. <EntityType Name="Service">
  4. <Key>
  5. <PropertyRef Name="ID" />
  6. </Key>
  7. <Property Name="ID" Type="int" Nullable="false" />
  8. <Property Name="Title" Type="nvarchar" MaxLength="100" Nullable="false" />
  9. <Property Name="Cost" Type="money" Nullable="false" />
  10. <Property Name="DurationInSeconds" Type="int" Nullable="false" />
  11. <Property Name="Description" Type="nvarchar(max)" />
  12. <Property Name="Discount" Type="float" />
  13. <Property Name="MainImagePath" Type="nvarchar" MaxLength="1000" />
  14. </EntityType>
  15. <EntityContainer Name="Хранилище Model1Container">
  16. <EntitySet Name="Service" EntityType="Self.Service" Schema="dbo" store:Type="Tables" />
  17. </EntityContainer>
  18. </Schema>