Changeset 4953 for branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess
- Timestamp:
- 11/27/10 09:20:02 (14 years ago)
- Location:
- branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.dbml
r4802 r4953 1 <?xml version="1.0" encoding="utf-8"?><Database Class="ClientManagmentDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">2 <Connection Mode="AppSettings" ConnectionString="Data Source=.\SQL EXPRESS;Initial Catalog=HeuristicLab.ClientManagment;Integrated Security=True" SettingsObjectName="HeuristicLab.Services.Authentication.DataAccess.Properties.Settings" SettingsPropertyName="ClientManagementConnectionString" Provider="System.Data.SqlClient" />1 <?xml version="1.0" encoding="utf-8"?><Database Name="HeuristicLab.ClientManagment" Class="ClientManagmentDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007"> 2 <Connection Mode="AppSettings" ConnectionString="Data Source=.\SQL2008;Initial Catalog=HeuristicLab.ClientManagment;Integrated Security=True" SettingsObjectName="HeuristicLab.Services.Authentication.DataAccess.Properties.Settings" SettingsPropertyName="ClientManagementConnectionString" Provider="System.Data.SqlClient" /> 3 3 <Table Name="" Member="Resources"> 4 4 <Type Name="Resource" InheritanceCode="Resource"> 5 <Column Name=" ResourceID" Member="Id" Storage="_ResourceID" AutoSync="OnInsert" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" />5 <Column Name="Id" Storage="_ResourceID" AutoSync="OnInsert" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" /> 6 6 <Column Name="Name" Type="System.String" CanBeNull="false" /> 7 7 <Column Name="Description" Type="System.String" CanBeNull="true" /> … … 22 22 <Table Name="" Member="ResourceResourceGroups"> 23 23 <Type Name="ResourceResourceGroup"> 24 <Column Name="ResourceI D" Member="ResourceId" Storage="_ResourceID" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" />25 <Column Name="ResourceGroupI D" Member="ResourceGroupId" Storage="_ResourceGroupID" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" />24 <Column Name="ResourceId" Storage="_ResourceID" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" /> 25 <Column Name="ResourceGroupId" Storage="_ResourceGroupID" Type="System.Guid" IsPrimaryKey="true" CanBeNull="false" /> 26 26 <Association Name="Resource_ResourceResourceGroup" Member="Client" Storage="_Resource" ThisKey="ResourceId" OtherKey="Id" Type="Resource" IsForeignKey="true" /> 27 27 <Association Name="Resource_ResourceResourceGroup1" Member="ResourceGroup" Storage="_Resource1" ThisKey="ResourceGroupId" OtherKey="Id" Type="Resource" IsForeignKey="true" /> -
branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.dbml.layout
r4802 r4953 3 3 <DataContextMoniker Name="/ClientManagmentDataContext" /> 4 4 <nestedChildShapes> 5 <classShape Id="cace4a80-c7a9-4132-9b82-c4ef3884dbc0" absoluteBounds="0.75, 3.875, 2, 1. 7535424804687496">5 <classShape Id="cace4a80-c7a9-4132-9b82-c4ef3884dbc0" absoluteBounds="0.75, 3.875, 2, 1.9631982421874996"> 6 6 <DataClassMoniker Name="/ClientManagmentDataContext/Client" /> 7 7 <nestedChildShapes> 8 <elementListCompartment Id="bce42ce5-f605-4c26-a210-ed4ea2812ca7" absoluteBounds="0.765, 4.335, 1.9700000000000002, 1. 19354248046875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />8 <elementListCompartment Id="bce42ce5-f605-4c26-a210-ed4ea2812ca7" absoluteBounds="0.765, 4.335, 1.9700000000000002, 1.4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 9 9 </nestedChildShapes> 10 10 </classShape> 11 <classShape Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" absoluteBounds="2 .125, 1.25, 2, 1.424847819010417">11 <classShape Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" absoluteBounds="2, 1.125, 2, 1.5785953776041666"> 12 12 <DataClassMoniker Name="/ClientManagmentDataContext/Resource" /> 13 13 <nestedChildShapes> 14 <elementListCompartment Id="3a656a72-fe83-45a4-87c2-c0aa13fa068f" absoluteBounds="2. 14, 1.71, 1.9700000000000002, 0.86484781901041663" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />14 <elementListCompartment Id="3a656a72-fe83-45a4-87c2-c0aa13fa068f" absoluteBounds="2.015, 1.585, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 15 15 </nestedChildShapes> 16 16 </classShape> 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">17 <inheritanceConnector edgePoints="[(3 : 2.70359537760417); (3 : 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" /> … … 21 21 </nodes> 22 22 </inheritanceConnector> 23 <classShape Id="7820d3d1-da69-4786-9415-4fa77e5fc03a" absoluteBounds="3.625, 3.875, 2, 0. 76745849609374961">23 <classShape Id="7820d3d1-da69-4786-9415-4fa77e5fc03a" absoluteBounds="3.625, 3.875, 2, 0.80938964843749961"> 24 24 <DataClassMoniker Name="/ClientManagmentDataContext/ResourceGroup" /> 25 25 <nestedChildShapes> 26 <elementListCompartment Id="125f9904-768c-4c01-9a04-5212a9e6e484" absoluteBounds="3.64, 4.335, 1.9700000000000002, 0.2 0745849609375" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />26 <elementListCompartment Id="125f9904-768c-4c01-9a04-5212a9e6e484" absoluteBounds="3.64, 4.335, 1.9700000000000002, 0.2493896484375" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 27 27 </nestedChildShapes> 28 28 </classShape> 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">29 <inheritanceConnector edgePoints="[(3 : 2.70359537760417); (3 : 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" /> … … 33 33 </nodes> 34 34 </inheritanceConnector> 35 <classShape Id="9b206f4e-128f-4c3f-bd08-7f2d271ebb2b" absoluteBounds="5.125, 1.25, 2, 1. 0961531575520831">35 <classShape Id="9b206f4e-128f-4c3f-bd08-7f2d271ebb2b" absoluteBounds="5.125, 1.25, 2, 1.1939925130208331"> 36 36 <DataClassMoniker Name="/ClientManagmentDataContext/ResourceResourceGroup" /> 37 37 <nestedChildShapes> 38 <elementListCompartment Id="9d879183-e5e2-42e9-9fbf-3e68f959d459" absoluteBounds="5.14, 1.71, 1.9700000000000002, 0. 53615315755208326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />38 <elementListCompartment Id="9d879183-e5e2-42e9-9fbf-3e68f959d459" absoluteBounds="5.14, 1.71, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 39 39 </nestedChildShapes> 40 40 </classShape> 41 <associationConnector edgePoints="[(4 .125 : 2.01147048950195); (5.125 : 2.01147048950195)]" fixedFrom="NotFixed" fixedTo="NotFixed">41 <associationConnector edgePoints="[(4 : 1.84699625651042); (5.125 : 1.84699625651042)]" 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.56823524475098); (5.125 : 1.56823524475098)]" fixedFrom="NotFixed" fixedTo="NotFixed">48 <associationConnector edgePoints="[(4 : 2.10706709867143); (5.125 : 2.10706709867143)]" 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
r4802 r4953 23 23 24 24 25 [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="HeuristicLab.ClientManagment")] 25 26 public partial class ClientManagmentDataContext : System.Data.Linq.DataContext 26 27 { … … 127 128 } 128 129 129 [global::System.Data.Linq.Mapping.ColumnAttribute( Name="ResourceID",Storage="_ResourceID", AutoSync=AutoSync.OnInsert, IsPrimaryKey=true)]130 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceID", AutoSync=AutoSync.OnInsert, IsPrimaryKey=true)] 130 131 public System.Guid Id 131 132 { … … 483 484 } 484 485 485 [global::System.Data.Linq.Mapping.ColumnAttribute( Name="ResourceID",Storage="_ResourceID", IsPrimaryKey=true)]486 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceID", IsPrimaryKey=true)] 486 487 public System.Guid ResourceId 487 488 { … … 494 495 if ((this._ResourceID != value)) 495 496 { 497 if (this._Resource.HasLoadedOrAssignedValue) 498 { 499 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); 500 } 496 501 this.OnResourceIdChanging(value); 497 502 this.SendPropertyChanging(); … … 503 508 } 504 509 505 [global::System.Data.Linq.Mapping.ColumnAttribute( Name="ResourceGroupID",Storage="_ResourceGroupID", IsPrimaryKey=true)]510 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceGroupID", IsPrimaryKey=true)] 506 511 public System.Guid ResourceGroupId 507 512 { … … 514 519 if ((this._ResourceGroupID != value)) 515 520 { 521 if (this._Resource1.HasLoadedOrAssignedValue) 522 { 523 throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); 524 } 516 525 this.OnResourceGroupIdChanging(value); 517 526 this.SendPropertyChanging();
Note: See TracChangeset
for help on using the changeset viewer.