1 <?xml version="1.0" encoding="utf-8"?>
\r
2 <Database Name="EpamSharesIndex" Class="SearchIndexDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
\r
3 <Connection Mode="WebSettings" ConnectionString="Data Source=10.17.33.200;Initial Catalog=TestEpamSharesIndex;Persist Security Info=True;User ID=esi" SettingsObjectName="System.Configuration.ConfigurationManager.ConnectionStrings" SettingsPropertyName="TestEpamSharesIndexConnectionString" Provider="System.Data.SqlClient" />
\r
4 <Table Name="dbo.[File]" Member="Files">
\r
6 <Column Name="file_id" Type="System.Int32" DbType="Int NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
\r
7 <Column Name="parent_folder_id" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
\r
8 <Column Name="name" Type="System.String" DbType="NVarChar(255)" CanBeNull="true" />
\r
9 <Column Name="type" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
\r
10 <Column Name="size" Type="System.Int64" DbType="BigInt NOT NULL" CanBeNull="false" />
\r
11 <Column Name="indexed_on" Type="System.Data.Linq.Binary" DbType="rowversion" CanBeNull="true" IsVersion="true" />
\r
12 <Association Name="Folder_File" Member="Folder" ThisKey="parent_folder_id" OtherKey="folder_id" Type="Folder" IsForeignKey="true" />
\r
15 <Table Name="dbo.Folder" Member="Folders">
\r
16 <Type Name="Folder">
\r
17 <Column Name="folder_id" Type="System.Int32" DbType="Int NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
\r
18 <Column Name="parent_id" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
\r
19 <Column Name="path" Type="System.String" DbType="NVarChar(4000) NOT NULL" CanBeNull="false" />
\r
20 <Column Name="indexed_on" Type="System.Data.Linq.Binary" DbType="rowversion" CanBeNull="true" IsVersion="true" />
\r
21 <Association Name="Folder_File" Member="Files" ThisKey="folder_id" OtherKey="parent_folder_id" Type="File" />
\r
24 <Table Name="dbo.vFileInfo" Member="FileInfos">
\r
25 <Type Name="FileInfo" Id="ID1">
\r
26 <Column Name="name" Type="System.String" DbType="NVarChar(255)" CanBeNull="true" />
\r
27 <Column Name="path" Type="System.String" DbType="NVarChar(4000) NOT NULL" CanBeNull="false" />
\r
28 <Column Name="FullName" Type="System.String" DbType="NVarChar(4000)" CanBeNull="true" />
\r
29 <Column Name="size" Type="System.Int64" DbType="BigInt NOT NULL" CanBeNull="false" />
\r
30 <Column Name="type" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
\r
33 <Function Name="dbo.Search" Method="Search">
\r
34 <Parameter Name="phrase" Type="System.String" DbType="NVarChar(1000)" />
\r
35 <Parameter Name="type" Type="System.String" DbType="NVarChar(100)" />
\r
36 <ElementType IdRef="ID1" />
\r