Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/31/10 03:40:09 (14 years ago)
Author:
fruehrli
Message:

#1197
Administration methods updated
WinForm for administration added
Demo WebService added

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  
    22  <Table Name="" Member="Resources">
    33    <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" />
    55      <Column Name="Name" Type="System.String" CanBeNull="false" />
    66      <Column Name="Description" Type="System.String" CanBeNull="true" />
     
    1010      <Type Name="Client" InheritanceCode="Client">
    1111        <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="IPAdresse" 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" />
    1616        <Column Name="OperatingSystem" Type="System.String" CanBeNull="true" />
    1717      </Type>
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.dbml.layout

    r4592 r4694  
    1515      </nestedChildShapes>
    1616    </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">
    1818      <nodes>
    1919        <classShapeMoniker Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" />
     
    2727      </nestedChildShapes>
    2828    </classShape>
    29     <inheritanceConnector edgePoints="[(3.14639176514791 : 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">
    3030      <nodes>
    3131        <classShapeMoniker Id="ea129a98-d63f-4c3a-a3e8-dff64ad53c30" />
     
    3939      </nestedChildShapes>
    4040    </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">
    4242      <AssociationMoniker Name="/ClientManagmentDataContext/Resource/Resource_ResourceResourceGroup" />
    4343      <nodes>
     
    4646      </nodes>
    4747    </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">
    4949      <AssociationMoniker Name="/ClientManagmentDataContext/Resource/Resource_ResourceResourceGroup1" />
    5050      <nodes>
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/ClientManagment.designer.cs

    r4592 r4694  
    3939
    4040
    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    }
    4645
    4746    public ClientManagmentDataContext(string connection) :
     
    128127    }
    129128   
    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)]
    131130    public System.Guid ResourceID
    132131    {
     
    284283    private string _ProcessorType;
    285284   
    286     private System.Nullable<int> _NumberOfProcessors;
    287    
    288     private System.Nullable<int> _NumberOfThreads;
    289    
    290     private string _IPAdresse;
    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;
    293292   
    294293    private string _OperatingSystem;
     
    300299    partial void OnProcessorTypeChanging(string value);
    301300    partial void OnProcessorTypeChanged();
    302     partial void OnNumberOfProcessorsChanging(System.Nullable<int> value);
     301    partial void OnNumberOfProcessorsChanging(string value);
    303302    partial void OnNumberOfProcessorsChanged();
    304     partial void OnNumberOfThreadsChanging(System.Nullable<int> value);
     303    partial void OnNumberOfThreadsChanging(string value);
    305304    partial void OnNumberOfThreadsChanged();
    306     partial void OnIPAdresseChanging(string value);
    307     partial void OnIPAdresseChanged();
    308     partial void OnMemorySizeChanging(System.Nullable<int> value);
     305    partial void OnIPAdressChanging(string value);
     306    partial void OnIPAdressChanged();
     307    partial void OnMemorySizeChanging(string value);
    309308    partial void OnMemorySizeChanged();
    310309    partial void OnOperatingSystemChanging(string value);
     
    337336    }
    338337   
    339     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfProcessors", DbType="int")]
    340     public System.Nullable<int> NumberOfProcessors
     338    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfProcessors")]
     339    public string NumberOfProcessors
    341340    {
    342341      get
     
    358357   
    359358    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfThreads")]
    360     public System.Nullable<int> NumberOfThreads
     359    public string NumberOfThreads
    361360    {
    362361      get
     
    377376    }
    378377   
    379     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IPAdresse")]
    380     public string IPAdresse
    381     {
    382       get
    383       {
    384         return this._IPAdresse;
    385       }
    386       set
    387       {
    388         if ((this._IPAdresse != value))
    389         {
    390           this.OnIPAdresseChanging(value);
    391           this.SendPropertyChanging();
    392           this._IPAdresse = value;
    393           this.SendPropertyChanged("IPAdresse");
    394           this.OnIPAdresseChanged();
     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();
    395394        }
    396395      }
     
    398397   
    399398    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MemorySize")]
    400     public System.Nullable<int> MemorySize
     399    public string MemorySize
    401400    {
    402401      get
  • branches/ClientManagement/HeuristicLab.Services.Authentication/HeuristicLab.Services.Authentication.DataAccess/HeuristicLab.Services.Authentication.DataAccess.csproj

    r4592 r4694  
    3131    <WarningLevel>4</WarningLevel>
    3232  </PropertyGroup>
     33  <PropertyGroup>
     34    <SignAssembly>true</SignAssembly>
     35  </PropertyGroup>
     36  <PropertyGroup>
     37    <AssemblyOriginatorKeyFile>HLAuthenticationDataAccess.pfx</AssemblyOriginatorKeyFile>
     38  </PropertyGroup>
    3339  <ItemGroup>
    3440    <Reference Include="System" />
     
    6167      <SubType>Designer</SubType>
    6268    </None>
     69    <None Include="HLAuthenticationDataAccess.pfx" />
    6370    <None Include="Properties\Settings.settings">
    6471      <Generator>SettingsSingleFileGenerator</Generator>
Note: See TracChangeset for help on using the changeset viewer.