- Timestamp:
- 01/10/11 09:25:15 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HeuristicLab.Services.Hive.DataAccess-3.4.csproj
r5106 r5264 11 11 <RootNamespace>HeuristicLab.Services.Hive.DataAccess</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Services.Hive.DataAccess-3.4</AssemblyName> 13 <TargetFrameworkVersion>v 3.5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 <TargetFrameworkProfile /> 15 16 </PropertyGroup> 16 17 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDataContext.designer.cs
r5106 r5264 695 695 private EntitySet<AssignedResource> _AssignedResources; 696 696 697 private EntitySet<Resource> _ChildResources; 698 697 699 private EntitySet<UptimeCalendar> _UptimeCalendars; 698 699 private EntitySet<Resource> _ChildResources;700 700 701 701 private EntityRef<Resource> _ParentResource; … … 718 718 { 719 719 this._AssignedResources = new EntitySet<AssignedResource>(new Action<AssignedResource>(this.attach_AssignedResources), new Action<AssignedResource>(this.detach_AssignedResources)); 720 this._ChildResources = new EntitySet<Resource>(new Action<Resource>(this.attach_ChildResources), new Action<Resource>(this.detach_ChildResources)); 720 721 this._UptimeCalendars = new EntitySet<UptimeCalendar>(new Action<UptimeCalendar>(this.attach_UptimeCalendars), new Action<UptimeCalendar>(this.detach_UptimeCalendars)); 721 this._ChildResources = new EntitySet<Resource>(new Action<Resource>(this.attach_ChildResources), new Action<Resource>(this.detach_ChildResources));722 722 this._ParentResource = default(EntityRef<Resource>); 723 723 OnCreated(); … … 821 821 } 822 822 823 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_Resource", Storage="_ChildResources", ThisKey="ResourceId", OtherKey="ParentResourceId")] 824 public EntitySet<Resource> ChildResources 825 { 826 get 827 { 828 return this._ChildResources; 829 } 830 set 831 { 832 this._ChildResources.Assign(value); 833 } 834 } 835 823 836 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_UptimeCalendar", Storage="_UptimeCalendars", ThisKey="ResourceId", OtherKey="ResourceId")] 824 837 public EntitySet<UptimeCalendar> UptimeCalendars … … 831 844 { 832 845 this._UptimeCalendars.Assign(value); 833 }834 }835 836 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_Resource", Storage="_ChildResources", ThisKey="ResourceId", OtherKey="ParentResourceId")]837 public EntitySet<Resource> ChildResources838 {839 get840 {841 return this._ChildResources;842 }843 set844 {845 this._ChildResources.Assign(value);846 846 } 847 847 } … … 913 913 } 914 914 915 private void attach_ChildResources(Resource entity) 916 { 917 this.SendPropertyChanging(); 918 entity.ParentResource = this; 919 } 920 921 private void detach_ChildResources(Resource entity) 922 { 923 this.SendPropertyChanging(); 924 entity.ParentResource = null; 925 } 926 915 927 private void attach_UptimeCalendars(UptimeCalendar entity) 916 928 { … … 923 935 this.SendPropertyChanging(); 924 936 entity.Resource = null; 925 }926 927 private void attach_ChildResources(Resource entity)928 {929 this.SendPropertyChanging();930 entity.ParentResource = this;931 }932 933 private void detach_ChildResources(Resource entity)934 {935 this.SendPropertyChanging();936 entity.ParentResource = null;937 937 } 938 938 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/app.config
r5106 r5264 1 <?xml version="1.0" encoding="utf-8"?>1 <?xml version="1.0"?> 2 2 <configuration> 3 3 <configSections> 4 4 </configSections> 5 5 <connectionStrings> 6 <add name="HeuristicLab.Services.Hive.DataAccess.Properties.Settings.HeuristicLab_Hive_LinqConnectionString" 7 connectionString="Data Source=localhost;Initial Catalog=HeuristicLab.Hive-3.4;Integrated Security=True;" 8 providerName="System.Data.SqlClient" /> 6 <add name="HeuristicLab.Services.Hive.DataAccess.Properties.Settings.HeuristicLab_Hive_LinqConnectionString" connectionString="Data Source=localhost;Initial Catalog=HeuristicLab.Hive-3.4;Integrated Security=True;" providerName="System.Data.SqlClient"/> 9 7 </connectionStrings> 10 < /configuration>8 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
Note: See TracChangeset
for help on using the changeset viewer.