Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/06/10 14:28:39 (13 years ago)
Author:
jhaider
Message:

#1197
Updated project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.designer.cs

    r4694 r4732  
    3737    partial void DeleteResourceResourceGroup(ResourceResourceGroup instance);
    3838    #endregion
    39 
    40 
    41     public ClientManagmentDataContext() :
    42       base(global::HeuristicLab.Services.Authentication.DataAccess.Properties.Settings.Default.ClientManagementConnectionString, mappingSource) {
    43       OnCreated();
    44     }
    45 
     39   
    4640    public ClientManagmentDataContext(string connection) :
    4741        base(connection, mappingSource)
     
    8680 
    8781  [global::System.Data.Linq.Mapping.TableAttribute(Name="")]
    88   [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="Resource", Type=typeof(Resource), IsDefault=true)]
     82  [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="Resource", Type=typeof(Resource))]
    8983  [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="Client", Type=typeof(Client))]
    90   [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="ResourceGroup", Type=typeof(ResourceGroup))]
     84  [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="ResourceGroup", Type=typeof(ResourceGroup), IsDefault=true)]
    9185  public partial class Resource : INotifyPropertyChanging, INotifyPropertyChanged
    9286  {
     
    110104    partial void OnValidate(System.Data.Linq.ChangeAction action);
    111105    partial void OnCreated();
    112     partial void OnResourceIDChanging(System.Guid value);
    113     partial void OnResourceIDChanged();
     106    partial void OnIdChanging(System.Guid value);
     107    partial void OnIdChanged();
    114108    partial void OnNameChanging(string value);
    115109    partial void OnNameChanged();
     
    127121    }
    128122   
    129     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceID", AutoSync=AutoSync.OnInsert, IsPrimaryKey=true)]
    130     public System.Guid ResourceID
     123    [global::System.Data.Linq.Mapping.ColumnAttribute(Name="ResourceID", Storage="_ResourceID", AutoSync=AutoSync.OnInsert, IsPrimaryKey=true)]
     124    public System.Guid Id
    131125    {
    132126      get
     
    138132        if ((this._ResourceID != value))
    139133        {
    140           this.OnResourceIDChanging(value);
     134          this.OnIdChanging(value);
    141135          this.SendPropertyChanging();
    142136          this._ResourceID = value;
    143           this.SendPropertyChanged("ResourceID");
    144           this.OnResourceIDChanged();
     137          this.SendPropertyChanged("Id");
     138          this.OnIdChanged();
    145139        }
    146140      }
     
    207201    }
    208202   
    209     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup", Storage="_ResourceResourceGroups", ThisKey="ResourceID", OtherKey="ResourceID")]
     203    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup", Storage="_ResourceResourceGroups", ThisKey="Id", OtherKey="ResourceId")]
    210204    public EntitySet<ResourceResourceGroup> Clients
    211205    {
     
    220214    }
    221215   
    222     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup1", Storage="_ResourceResourceGroups1", ThisKey="ResourceID", OtherKey="ResourceGroupID")]
     216    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup1", Storage="_ResourceResourceGroups1", ThisKey="Id", OtherKey="ResourceGroupId")]
    223217    public EntitySet<ResourceResourceGroup> ResourceGroups
    224218    {
     
    470464    partial void OnValidate(System.Data.Linq.ChangeAction action);
    471465    partial void OnCreated();
    472     partial void OnResourceIDChanging(System.Guid value);
    473     partial void OnResourceIDChanged();
    474     partial void OnResourceGroupIDChanging(System.Guid value);
    475     partial void OnResourceGroupIDChanged();
     466    partial void OnResourceIdChanging(System.Guid value);
     467    partial void OnResourceIdChanged();
     468    partial void OnResourceGroupIdChanging(System.Guid value);
     469    partial void OnResourceGroupIdChanged();
    476470    #endregion
    477471   
     
    483477    }
    484478   
    485     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceID", IsPrimaryKey=true)]
    486     public System.Guid ResourceID
     479    [global::System.Data.Linq.Mapping.ColumnAttribute(Name="ResourceID", Storage="_ResourceID", IsPrimaryKey=true)]
     480    public System.Guid ResourceId
    487481    {
    488482      get
     
    494488        if ((this._ResourceID != value))
    495489        {
    496           if (this._Resource.HasLoadedOrAssignedValue)
    497           {
    498             throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
    499           }
    500           this.OnResourceIDChanging(value);
     490          this.OnResourceIdChanging(value);
    501491          this.SendPropertyChanging();
    502492          this._ResourceID = value;
    503           this.SendPropertyChanged("ResourceID");
    504           this.OnResourceIDChanged();
    505         }
    506       }
    507     }
    508    
    509     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceGroupID", IsPrimaryKey=true)]
    510     public System.Guid ResourceGroupID
     493          this.SendPropertyChanged("ResourceId");
     494          this.OnResourceIdChanged();
     495        }
     496      }
     497    }
     498   
     499    [global::System.Data.Linq.Mapping.ColumnAttribute(Name="ResourceGroupID", Storage="_ResourceGroupID", IsPrimaryKey=true)]
     500    public System.Guid ResourceGroupId
    511501    {
    512502      get
     
    518508        if ((this._ResourceGroupID != value))
    519509        {
    520           if (this._Resource1.HasLoadedOrAssignedValue)
    521           {
    522             throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
    523           }
    524           this.OnResourceGroupIDChanging(value);
     510          this.OnResourceGroupIdChanging(value);
    525511          this.SendPropertyChanging();
    526512          this._ResourceGroupID = value;
    527           this.SendPropertyChanged("ResourceGroupID");
    528           this.OnResourceGroupIDChanged();
    529         }
    530       }
    531     }
    532    
    533     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup", Storage="_Resource", ThisKey="ResourceID", OtherKey="ResourceID", IsForeignKey=true)]
     513          this.SendPropertyChanged("ResourceGroupId");
     514          this.OnResourceGroupIdChanged();
     515        }
     516      }
     517    }
     518   
     519    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup", Storage="_Resource", ThisKey="ResourceId", OtherKey="Id", IsForeignKey=true)]
    534520    public Resource Client
    535521    {
     
    554540          {
    555541            value.Clients.Add(this);
    556             this._ResourceID = value.ResourceID;
     542            this._ResourceID = value.Id;
    557543          }
    558544          else
     
    565551    }
    566552   
    567     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup1", Storage="_Resource1", ThisKey="ResourceGroupID", OtherKey="ResourceID", IsForeignKey=true)]
     553    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ResourceResourceGroup1", Storage="_Resource1", ThisKey="ResourceGroupId", OtherKey="Id", IsForeignKey=true)]
    568554    public Resource ResourceGroup
    569555    {
     
    588574          {
    589575            value.ResourceGroups.Add(this);
    590             this._ResourceGroupID = value.ResourceID;
     576            this._ResourceGroupID = value.Id;
    591577          }
    592578          else
Note: See TracChangeset for help on using the changeset viewer.