Changeset 4694 for branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess
- Timestamp:
- 10/31/10 03:40:09 (14 years ago)
- Location:
- branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.dbml
r4592 r4694 2 2 <Table Name="" Member="Resources"> 3 3 <Type Name="Resource" InheritanceCode="Resource" IsInheritanceDefault="true"> 4 <Column Name="ResourceID" AutoSync=" Never" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />4 <Column Name="ResourceID" AutoSync="OnInsert" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" /> 5 5 <Column Name="Name" Type="System.String" CanBeNull="false" /> 6 6 <Column Name="Description" Type="System.String" CanBeNull="true" /> … … 10 10 <Type Name="Client" InheritanceCode="Client"> 11 11 <Column Name="ProcessorType" Type="System.String" CanBeNull="true" /> 12 <Column Name="NumberOfProcessors" Type="System. Int32" DbType="int" CanBeNull="true" />13 <Column Name="NumberOfThreads" Type="System. Int32" CanBeNull="true" />14 <Column Name="IPAdress e" Type="System.String" CanBeNull="true" />15 <Column Name="MemorySize" Type="System. Int32" CanBeNull="true" />12 <Column Name="NumberOfProcessors" Type="System.String" CanBeNull="true" /> 13 <Column Name="NumberOfThreads" Type="System.String" CanBeNull="true" /> 14 <Column Name="IPAdress" Type="System.String" CanBeNull="true" /> 15 <Column Name="MemorySize" Type="System.String" CanBeNull="true" /> 16 16 <Column Name="OperatingSystem" Type="System.String" CanBeNull="true" /> 17 17 </Type> -
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.dbml.layout
r4592 r4694 15 15 </nestedChildShapes> 16 16 </classShape> 17 <inheritanceConnector edgePoints="[( 2.86155808614238 : 2.67484781901042); (2.86155808614238: 3.5); (1.75 : 3.5); (1.75 : 3.875)]" fixedFrom="NotFixed" fixedTo="NotFixed" TargetRelationshipDomainClassId="7a7fe09e-e9ef-4b01-9ff3-bde95e827b62">17 <inheritanceConnector edgePoints="[(3.125 : 2.67484781901042); (3.125 : 3.5); (1.75 : 3.5); (1.75 : 3.875)]" fixedFrom="NotFixed" fixedTo="NotFixed" TargetRelationshipDomainClassId="7a7fe09e-e9ef-4b01-9ff3-bde95e827b62"> 18 18 <nodes> 19 19 <classShapeMoniker Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" /> … … 27 27 </nestedChildShapes> 28 28 </classShape> 29 <inheritanceConnector edgePoints="[(3.1 4639176514791 : 2.67484781901042); (3.14639176514791: 3.5); (4.625 : 3.5); (4.625 : 3.875)]" fixedFrom="NotFixed" fixedTo="NotFixed" TargetRelationshipDomainClassId="7a7fe09e-e9ef-4b01-9ff3-bde95e827b62">29 <inheritanceConnector edgePoints="[(3.125 : 2.67484781901042); (3.125 : 3.5); (4.625 : 3.5); (4.625 : 3.875)]" fixedFrom="NotFixed" fixedTo="NotFixed" TargetRelationshipDomainClassId="7a7fe09e-e9ef-4b01-9ff3-bde95e827b62"> 30 30 <nodes> 31 31 <classShapeMoniker Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" /> … … 39 39 </nestedChildShapes> 40 40 </classShape> 41 <associationConnector edgePoints="[(4.125 : 1.84699625651042); (5.125 : 1.84699625651042)]" fixedFrom="NotFixed" fixedTo="NotFixed">41 <associationConnector edgePoints="[(4.125 : 2.01147048950195); (5.125 : 2.01147048950195)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 42 42 <AssociationMoniker Name="/ClientManagmentDataContext/Resource/Resource_ResourceResourceGroup" /> 43 43 <nodes> … … 46 46 </nodes> 47 47 </associationConnector> 48 <associationConnector edgePoints="[(4.125 : 1. 48599812825521); (5.125 : 1.48599812825521)]" fixedFrom="NotFixed" fixedTo="NotFixed">48 <associationConnector edgePoints="[(4.125 : 1.56823524475098); (5.125 : 1.56823524475098)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 49 49 <AssociationMoniker Name="/ClientManagmentDataContext/Resource/Resource_ResourceResourceGroup1" /> 50 50 <nodes> -
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.designer.cs
r4592 r4694 39 39 40 40 41 public ClientManagmentDataContext() : 42 base(@"Data Source=nb-1\sqlexpress;Initial Catalog=HeuristicLab.ClientManagment;Integrated Security=SSPI;", mappingSource) 43 { 44 OnCreated(); 45 } 41 public ClientManagmentDataContext() : 42 base(global::HeuristicLab.Services.Authentication.DataAccess.Properties.Settings.Default.ClientManagementConnectionString, mappingSource) { 43 OnCreated(); 44 } 46 45 47 46 public ClientManagmentDataContext(string connection) : … … 128 127 } 129 128 130 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceID", IsPrimaryKey=true, IsDbGenerated=true)]129 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceID", AutoSync=AutoSync.OnInsert, IsPrimaryKey=true)] 131 130 public System.Guid ResourceID 132 131 { … … 284 283 private string _ProcessorType; 285 284 286 private System.Nullable<int>_NumberOfProcessors;287 288 private System.Nullable<int>_NumberOfThreads;289 290 private string _IPAdress e;291 292 private System.Nullable<int>_MemorySize;285 private string _NumberOfProcessors; 286 287 private string _NumberOfThreads; 288 289 private string _IPAdress; 290 291 private string _MemorySize; 293 292 294 293 private string _OperatingSystem; … … 300 299 partial void OnProcessorTypeChanging(string value); 301 300 partial void OnProcessorTypeChanged(); 302 partial void OnNumberOfProcessorsChanging( System.Nullable<int>value);301 partial void OnNumberOfProcessorsChanging(string value); 303 302 partial void OnNumberOfProcessorsChanged(); 304 partial void OnNumberOfThreadsChanging( System.Nullable<int>value);303 partial void OnNumberOfThreadsChanging(string value); 305 304 partial void OnNumberOfThreadsChanged(); 306 partial void OnIPAdress eChanging(string value);307 partial void OnIPAdress eChanged();308 partial void OnMemorySizeChanging( System.Nullable<int>value);305 partial void OnIPAdressChanging(string value); 306 partial void OnIPAdressChanged(); 307 partial void OnMemorySizeChanging(string value); 309 308 partial void OnMemorySizeChanged(); 310 309 partial void OnOperatingSystemChanging(string value); … … 337 336 } 338 337 339 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfProcessors" , DbType="int")]340 public System.Nullable<int>NumberOfProcessors338 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfProcessors")] 339 public string NumberOfProcessors 341 340 { 342 341 get … … 358 357 359 358 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfThreads")] 360 public System.Nullable<int>NumberOfThreads359 public string NumberOfThreads 361 360 { 362 361 get … … 377 376 } 378 377 379 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IPAdress e")]380 public string IPAdress e381 { 382 get 383 { 384 return this._IPAdress e;385 } 386 set 387 { 388 if ((this._IPAdress e!= value))389 { 390 this.OnIPAdress eChanging(value);391 this.SendPropertyChanging(); 392 this._IPAdress e= value;393 this.SendPropertyChanged("IPAdress e");394 this.OnIPAdress eChanged();378 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IPAdress")] 379 public string IPAdress 380 { 381 get 382 { 383 return this._IPAdress; 384 } 385 set 386 { 387 if ((this._IPAdress != value)) 388 { 389 this.OnIPAdressChanging(value); 390 this.SendPropertyChanging(); 391 this._IPAdress = value; 392 this.SendPropertyChanged("IPAdress"); 393 this.OnIPAdressChanged(); 395 394 } 396 395 } … … 398 397 399 398 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MemorySize")] 400 public System.Nullable<int>MemorySize399 public string MemorySize 401 400 { 402 401 get -
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/HeuristicLab.Services.Authentication.DataAccess.csproj
r4592 r4694 31 31 <WarningLevel>4</WarningLevel> 32 32 </PropertyGroup> 33 <PropertyGroup> 34 <SignAssembly>true</SignAssembly> 35 </PropertyGroup> 36 <PropertyGroup> 37 <AssemblyOriginatorKeyFile>HLAuthenticationDataAccess.pfx</AssemblyOriginatorKeyFile> 38 </PropertyGroup> 33 39 <ItemGroup> 34 40 <Reference Include="System" /> … … 61 67 <SubType>Designer</SubType> 62 68 </None> 69 <None Include="HLAuthenticationDataAccess.pfx" /> 63 70 <None Include="Properties\Settings.settings"> 64 71 <Generator>SettingsSingleFileGenerator</Generator>
Note: See TracChangeset
for help on using the changeset viewer.