Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Services.Authentication Prototype/Persistence/DataClasses.dbml @ 4002

Last change on this file since 4002 was 3970, checked in by bfarka, 14 years ago

made Database configable with app.config in the Persistence Project --> 2 different DBs can be configured (one for UnitTesting and a real one) (#1063)

File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Database Class="DataClassesDataContext" Serialization="Unidirectional" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
3  <Table Name="" Member="HeuristicLabUsers">
4    <Type Name="HeuristicLabUser">
5      <Column Name="id" Member="ID" Storage="_id" Type="System.Int64" IsReadOnly="true" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
6      <Column Name="UserName" Modifier="Virtual" Type="System.String" IsReadOnly="true" CanBeNull="false" />
7      <Column Name="Password" Type="System.String" CanBeNull="false" />
8      <Column Name="LastPasswordChangedDate" Modifier="Virtual" Type="System.DateTime" IsReadOnly="true" CanBeNull="false" />
9      <Column Name="PasswordQuestion" Modifier="Virtual" Type="System.String" IsReadOnly="true" CanBeNull="false" />
10      <Column Name="PasswordAnswer" Type="System.String" CanBeNull="false" />
11      <Column Name="Email" Modifier="Virtual" Type="System.String" CanBeNull="false" />
12      <Column Name="Comment" Modifier="Virtual" Type="System.String" CanBeNull="false" />
13      <Column Name="Locked" Type="System.Boolean" CanBeNull="false" />
14      <Association Name="HeuristicLabUser_HeuristicLabUserRole" Member="HeuristicLabUserRoles" Storage="_HeuristicLabUserRole" ThisKey="ID" OtherKey="HeuristicLabUserID" Type="HeuristicLabUserRole" />
15    </Type>
16  </Table>
17  <Table Name="" Member="HeuristicLabRole">
18    <Type Name="HeuristicLabRole">
19      <Column Name="ID" Type="System.Int64" IsReadOnly="true" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
20      <Column Name="roleName" Member="RoleName" Storage="_roleName" Type="System.String" CanBeNull="false" />
21      <Column Name="parentRoleID" Member="ParentRoleID" Storage="_parentRoleID" Type="System.Int64" CanBeNull="true" />
22      <Column Name="IsPermission" Type="System.Boolean" CanBeNull="false" />
23      <Association Name="HeuristicLabRole_HeuristicLabRole" Member="HeuristicLabRoleChilds" Storage="_HeuristicLabRole2" ThisKey="ID" OtherKey="ParentRoleID" Type="HeuristicLabRole" />
24      <Association Name="HeuristicLabRole_HeuristicLabUserRole" Member="HeuristicLabUserRoles" Storage="_HeuristicLabUserRole" ThisKey="ID" OtherKey="HeuristicLabRoleID" Type="HeuristicLabUserRole" />
25      <Association Name="HeuristicLabRole_HeuristicLabRole" Member="HeuristicLabRoleParent" Storage="_HeuristicLabRole1" ThisKey="ParentRoleID" OtherKey="ID" Type="HeuristicLabRole" IsForeignKey="true" />
26    </Type>
27  </Table>
28  <Table Name="" Member="HeuristicLabUserRole">
29    <Type Name="HeuristicLabUserRole">
30      <Column Name="ID" Type="System.Int64" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
31      <Column Name="HeuristicLabUserID" Type="System.Int64" CanBeNull="false" />
32      <Column Name="HeuristicLabRoleID" Type="System.Int64" CanBeNull="false" />
33      <Association Name="HeuristicLabUser_HeuristicLabUserRole" Member="HeuristicLabUser" ThisKey="HeuristicLabUserID" OtherKey="ID" Type="HeuristicLabUser" IsForeignKey="true" />
34      <Association Name="HeuristicLabRole_HeuristicLabUserRole" Member="HeuristicLabRole" Storage="_HeuristicLabAbstractRole" ThisKey="HeuristicLabRoleID" OtherKey="ID" Type="HeuristicLabRole" IsForeignKey="true" />
35    </Type>
36  </Table>
37</Database>
Note: See TracBrowser for help on using the repository browser.