Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 3950 was 3943, checked in by hmayr, 14 years ago

following changes (#1046):

  • extended DatabaseUtil.cs
  • extended HeuristicLabUser.cs
  • created HeuristicLabUserTest.cs
  • created AbstractHeuristicLabTest.cs
  • implemented a demo method in HeuristicLabMembershipProvider.cs to show usage of HeuristicLabUser.cs and DatabaseUtil.cs
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="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      <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" 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 Name="RoleType" Type="System.String" IsReadOnly="true" CanBeNull="false" IsDiscriminator="true" />
22      <Association Name="HeuristicLabAbstractRole_HeuristicLabAbstractRole" Member="HeuristicLabAbstractRole2" ThisKey="ID" OtherKey="ParentRoleID" Type="HeuristicLabAbstractRole" />
23      <Association Name="HeuristicLabAbstractRole_HeuristicLabUserRole" Member="HeuristicLabUserRole" ThisKey="ID" OtherKey="HeuristicLabRoleID" Type="HeuristicLabUserRole" />
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" IsInheritanceDefault="true" />
27    </Type>
28  </Table>
29  <Table Name="" Member="HeuristicLabUserRole">
30    <Type Name="HeuristicLabUserRole">
31      <Column Name="ID" Type="System.Int64" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
32      <Column Name="HeuristicLabUserID" Type="System.Int64" CanBeNull="false" />
33      <Column Name="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.