Free cookie consent management tool by TermsFeed Policy Generator

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

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

added classes for role persisting and relation between user and role (#1046)

File size: 3.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Database Class="DataClassesDataContext" 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="Override" Type="System.String" IsReadOnly="true" CanBeNull="false" />
7      <Column Name="Password" Type="System.String" CanBeNull="false" />
8      <Column Name="LastPasswordChangedDate" Modifier="Override" Type="System.DateTime" IsReadOnly="true" CanBeNull="false" />
9      <Column Name="PasswordQuestion" Modifier="Override" Type="System.String" IsReadOnly="true" CanBeNull="false" />
10      <Column Name="PasswordAnswer" Type="System.String" CanBeNull="false" />
11      <Column Name="Email" Modifier="Override" Type="System.String" CanBeNull="false" />
12      <Column Name="Comment" Modifier="Override" Type="System.String" CanBeNull="false" />
13      <Association Name="HeuristicLabUser_HeuristicLabUserRole" Member="HeuristicLabUserRole" ThisKey="ID" OtherKey="HeuristicLabUserID" Type="HeuristicLabUserRole" />
14    </Type>
15  </Table>
16  <Table Name="" Member="HeuristicLabAbstractRoles">
17    <Type Name="HeuristicLabAbstractRole" IsInheritanceDefault="true" Modifier="Abstract">
18      <Column Name="ID" Type="System.Int64" IsReadOnly="true" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
19      <Column Name="roleName" Member="RoleName" Storage="_roleName" Type="System.String" CanBeNull="false" />
20      <Column Name="parentRoleID" Member="ParentRoleID" Storage="_parentRoleID" Type="System.Int64" CanBeNull="false" />
21      <Column Member="RoleType" Type="System.String" IsReadOnly="true" CanBeNull="false" UpdateCheck="Always" IsDiscriminator="true" />
22      <Association Name="HeuristicLabAbstractRole_HeuristicLabUserRole" Member="HeuristicLabUserRole" ThisKey="ID" OtherKey="HeuristicLabRoleID" Type="HeuristicLabUserRole" />
23      <Association Name="HeuristicLabAbstractRole_HeuristicLabAbstractRole" Member="HeuristicLabAbstractRole2" ThisKey="ID" OtherKey="ParentRoleID" Type="HeuristicLabAbstractRole" />
24      <Association Name="HeuristicLabAbstractRole_HeuristicLabAbstractRole" Member="HeuristicLabAbstractRole1" ThisKey="ParentRoleID" OtherKey="ID" Type="HeuristicLabAbstractRole" IsForeignKey="true" />
25      <Type Name="HeuristicLabPermissionRole" InheritanceCode="permission" />
26      <Type Name="HeuristicLabRole" InheritanceCode="role" />
27    </Type>
28  </Table>
29  <Table Name="" Member="HeuristicLabUserRole">
30    <Type Name="HeuristicLabUserRole">
31      <Column Member="ID" Type="System.Int64" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
32      <Column Member="HeuristicLabUserID" Type="System.Int64" CanBeNull="false" />
33      <Column Member="HeuristicLabRoleID" Type="System.Int64" CanBeNull="false" />
34      <Association Name="HeuristicLabUser_HeuristicLabUserRole" Member="HeuristicLabUser" ThisKey="HeuristicLabUserID" OtherKey="ID" Type="HeuristicLabUser" IsForeignKey="true" />
35      <Association Name="HeuristicLabAbstractRole_HeuristicLabUserRole" Member="HeuristicLabAbstractRole" ThisKey="HeuristicLabRoleID" OtherKey="ID" Type="HeuristicLabAbstractRole" IsForeignKey="true" />
36    </Type>
37  </Table>
38</Database>
Note: See TracBrowser for help on using the repository browser.