Changeset 6820
- Timestamp:
- 09/22/11 13:06:02 (13 years ago)
- Location:
- branches/ClientUserManagement
- Files:
-
- 3 deleted
- 9 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Services.Access.DataAccess/3.3/ClientManagement.dbml
r6815 r6820 18 18 <Column Name="HeuristicLabVersion" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" /> 19 19 <Column Name="Country" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" /> 20 <Column Name="ClientType" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" /> 20 21 </Type> 21 22 <Type Name="Group" InheritanceCode="Group" /> -
branches/ClientUserManagement/HeuristicLab.Services.Access.DataAccess/3.3/ClientManagement.dbml.layout
r6815 r6820 35 35 </nestedChildShapes> 36 36 </classShape> 37 <classShape Id="93bcfe43-938e-49f8-90db-b5056196257b" absoluteBounds="2.875, 2.875, 2, 2. 1554996744791666">37 <classShape Id="93bcfe43-938e-49f8-90db-b5056196257b" absoluteBounds="2.875, 2.875, 2, 2.3478011067708326"> 38 38 <DataClassMoniker Name="/ClientManagementDataContext/Client" /> 39 39 <nestedChildShapes> 40 <elementListCompartment Id="f89c2c39-17cc-4b0e-b5e0-245107753b38" absoluteBounds="2.89, 3.335, 1.9700000000000002, 1. 5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />40 <elementListCompartment Id="f89c2c39-17cc-4b0e-b5e0-245107753b38" absoluteBounds="2.89, 3.335, 1.9700000000000002, 1.7878011067708333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 41 41 </nestedChildShapes> 42 42 </classShape> … … 84 84 </nestedChildShapes> 85 85 </classShape> 86 <associationConnector edgePoints="[(7.0625 : 5.31899251302083); (7.0625 : 6.125)]" fixedFrom=" Algorithm" fixedTo="Algorithm">86 <associationConnector edgePoints="[(7.0625 : 5.31899251302083); (7.0625 : 6.125)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 87 87 <AssociationMoniker Name="/ClientManagementDataContext/User/User_UserUserGroup" /> 88 88 <nodes> -
branches/ClientUserManagement/HeuristicLab.Services.Access.DataAccess/3.3/ClientManagement.designer.cs
r6815 r6820 368 368 private string _Country; 369 369 370 private string _ClientType; 371 370 372 #region Extensibility Method Definitions 371 373 partial void OnLoaded(); … … 386 388 partial void OnCountryChanging(string value); 387 389 partial void OnCountryChanged(); 390 partial void OnClientTypeChanging(string value); 391 partial void OnClientTypeChanged(); 388 392 #endregion 389 393 … … 529 533 this.SendPropertyChanged("Country"); 530 534 this.OnCountryChanged(); 535 } 536 } 537 } 538 539 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClientType", DbType="NVarChar(MAX)")] 540 public string ClientType 541 { 542 get 543 { 544 return this._ClientType; 545 } 546 set 547 { 548 if ((this._ClientType != value)) 549 { 550 this.OnClientTypeChanging(value); 551 this.SendPropertyChanging(); 552 this._ClientType = value; 553 this.SendPropertyChanged("ClientType"); 554 this.OnClientTypeChanged(); 531 555 } 532 556 } -
branches/ClientUserManagement/HeuristicLab.Services.Access.DataAccess/3.3/SQL Scripts/Initialize ClientManagement.sql
r6815 r6820 2 2 GO 3 3 4 /****** Object: Table [dbo].[Resource] Script Date: 09/ 19/2011 13:24:05******/4 /****** Object: Table [dbo].[Resource] Script Date: 09/22/2011 12:53:30 ******/ 5 5 SET ANSI_NULLS ON 6 6 GO … … 15 15 [Type] [nvarchar](max) NOT NULL, 16 16 [ProcessorType] [nvarchar](max) NULL, 17 [NumberOfCores] [int] (max)NULL,17 [NumberOfCores] [int] NULL, 18 18 [IPAddress] [nvarchar](max) NULL, 19 [MemorySize] [int] (max)NULL,19 [MemorySize] [int] NULL, 20 20 [OperatingSystem] [nvarchar](max) NULL, 21 21 [Country] [nvarchar](max) NULL, 22 22 [HeuristicLabVersion] [nvarchar](max) NULL, 23 [ClientType] [nvarchar](max) NULL, 23 24 CONSTRAINT [PK_Resource] PRIMARY KEY CLUSTERED 24 25 ( … … 28 29 29 30 GO 30 31 /****** Object: Table [dbo].[ResourceResourceGroup] Script Date: 09/19/2011 13:24:08 ******/ 31 /****** Object: Table [dbo].[ResourceResourceGroup] Script Date: 09/22/2011 12:53:47 ******/ 32 32 SET ANSI_NULLS ON 33 33 GO … … 60 60 61 61 ALTER TABLE [dbo].[ResourceResourceGroup] CHECK CONSTRAINT [FK_ResourceResourceGroup_ResourceId] 62 GO63 62 64 /****** Object: Table [dbo].[ClientLog] Script Date: 09/ 19/2011 13:24:11******/63 /****** Object: Table [dbo].[ClientLog] Script Date: 09/22/2011 12:54:07 ******/ 65 64 SET ANSI_NULLS ON 66 65 GO … … 90 89 GO 91 90 91 /****** Object: Table [dbo].[User] Script Date: 09/22/2011 12:54:23 ******/ 92 SET ANSI_NULLS ON 93 GO 92 94 95 SET QUOTED_IDENTIFIER ON 96 GO 93 97 98 CREATE TABLE [dbo].[User]( 99 [Id] [uniqueidentifier] NOT NULL, 100 [FullName] [nvarchar](max) NULL, 101 CONSTRAINT [PK_User] PRIMARY KEY CLUSTERED 102 ( 103 [Id] ASC 104 )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] 105 ) ON [PRIMARY] 94 106 107 GO 95 108 109 /****** Object: Table [dbo].[UserGroup] Script Date: 09/22/2011 12:54:35 ******/ 110 SET ANSI_NULLS ON 111 GO 96 112 113 SET QUOTED_IDENTIFIER ON 114 GO 115 116 CREATE TABLE [dbo].[UserGroup]( 117 [Id] [uniqueidentifier] NOT NULL, 118 [Name] [nvarchar](max) NOT NULL, 119 [ParentUserGroup] [uniqueidentifier] NULL, 120 CONSTRAINT [PK_UserGroup] PRIMARY KEY CLUSTERED 121 ( 122 [Id] ASC 123 )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] 124 ) ON [PRIMARY] 125 126 GO 127 128 /****** Object: Table [dbo].[UserUserGroup] Script Date: 09/22/2011 12:54:52 ******/ 129 SET ANSI_NULLS ON 130 GO 131 132 SET QUOTED_IDENTIFIER ON 133 GO 134 135 CREATE TABLE [dbo].[UserUserGroup]( 136 [UserId] [uniqueidentifier] NOT NULL, 137 [UserGroupId] [uniqueidentifier] NOT NULL, 138 CONSTRAINT [PK_UserUserGroup] PRIMARY KEY CLUSTERED 139 ( 140 [UserId] ASC, 141 [UserGroupId] ASC 142 )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] 143 ) ON [PRIMARY] 144 145 GO 146 147 ALTER TABLE [dbo].[UserUserGroup] WITH CHECK ADD CONSTRAINT [FK_UserUserGroup_User] FOREIGN KEY([UserId]) 148 REFERENCES [dbo].[User] ([Id]) 149 GO 150 151 ALTER TABLE [dbo].[UserUserGroup] CHECK CONSTRAINT [FK_UserUserGroup_User] 152 GO 153 154 ALTER TABLE [dbo].[UserUserGroup] WITH CHECK ADD CONSTRAINT [FK_UserUserGroup_UserGroup] FOREIGN KEY([UserGroupId]) 155 REFERENCES [dbo].[UserGroup] ([Id]) 156 GO 157 158 ALTER TABLE [dbo].[UserUserGroup] CHECK CONSTRAINT [FK_UserUserGroup_UserGroup] 159 GO -
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/Convert.cs
r6815 r6820 79 79 NumberOfCores = source.NumberOfCores, 80 80 OperatingSystem = source.OperatingSystem, 81 ProcessorType = source.ProcessorType 81 ProcessorType = source.ProcessorType, 82 ClientType = source.ClientType 82 83 }; 83 84 } … … 95 96 NumberOfCores = source.NumberOfCores, 96 97 OperatingSystem = source.OperatingSystem, 97 ProcessorType = source.ProcessorType 98 ProcessorType = source.ProcessorType, 99 ClientType = source.ClientType 98 100 }; 99 101 } -
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/DataTransfer/Client.cs
r6815 r6820 39 39 [DataMember] 40 40 public string Country { get; set; } 41 [DataMember] 42 public string ClientType { get; set; } 41 43 } 42 44 } -
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/DataTransfer/Role.cs
r6815 r6820 26 26 [DataContract] 27 27 public class Role : AccessItem { 28 29 28 [DataMember] 30 public string RoleName { get; set; }29 public string Name { get; set; } 31 30 } 32 31 } -
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/DataTransfer/User.cs
r6815 r6820 29 29 [DataMember] 30 30 public string UserName { get; set; } 31 32 31 [DataMember] 33 32 public string FullName { get; set; } 34 35 33 [DataMember] 36 34 public string Comment { get; set; } 37 38 35 [DataMember] 39 36 public string Email { get; set; } 40 37 [DataMember] 38 public IEnumerable<UserGroup> UserGroups { get; set; } 41 39 [DataMember] 42 40 public DateTime CreationDate { get; set; } 43 44 [DataMember]45 public IEnumerable<UserGroup> UserGroups { get; set; }46 47 41 [DataMember] 48 42 public DateTime LastLoginDate { get; set; } 49 50 43 [DataMember] 51 44 public DateTime LastPasswordChangedDate { get; set; } 52 53 45 [DataMember] 54 public DateTime LastLockoutDate { get; set; } 55 46 public DateTime LastActivityDate { get; set; } 56 47 [DataMember] 57 48 public bool IsApproved { get; set; } 58 59 [DataMember]60 public bool IsLockedOut { get; set; }61 62 [DataMember]63 public bool IsOnline { get; set; }64 65 [DataMember]66 public DateTime LastActivityDate { get; set; }67 68 [DataMember]69 public string PasswordQuestion { get; set; }70 71 [DataMember]72 public string ProviderName { get; set; }73 74 [DataMember]75 public object ProviderUserKey { get; set; }76 49 } 77 50 } -
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/DataTransfer/UserGroup.cs
r6815 r6820 28 28 [DataMember] 29 29 public string Name { get; set; } 30 31 30 [DataMember] 32 31 public Guid ParentUserGroup { get; set; }
Note: See TracChangeset
for help on using the changeset viewer.