Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/24/10 02:37:56 (14 years ago)
Author:
swagner
Message:

Worked on OKB user authentication (#1167)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.OKB/3.3/TableService.cs

    r4279 r4298  
    6666    public void UpdateDataTable(DataTable updatedRows, string tableName) {
    6767      logger.Info("updating table: " + tableName);
    68       Type tableType = Assembly.GetAssembly(typeof(Run)).GetType("HeuristicLab.OKB." + tableName, true);
     68      Type tableType = Assembly.GetAssembly(typeof(Run)).GetType("HeuristicLab.Services.OKB.DataAccess." + tableName, true);
    6969      var properties = from p in tableType.GetProperties()
    7070                       where SupportedTypes.Contains(p.PropertyType)
     
    126126    public void DeleteTableRows(int[] ids, string tableName) {
    127127      logger.Info("delete rows from table: " + tableName);
    128       Type tableType = Assembly.GetAssembly(typeof(Run)).GetType("HeuristicLab.OKB." + tableName, true);
     128      Type tableType = Assembly.GetAssembly(typeof(Run)).GetType("HeuristicLab.Services.OKB.DataAccess" + tableName, true);
    129129      OKBDataContext okb = GetDataContext();
    130130      ITable table = okb.GetTable(tableType);
     
    148148    public DataTable PrepareDataTable(string tableName, out int count) {
    149149      logger.Info("preparing data table: " + tableName);
    150       Type tableType = Assembly.GetAssembly(typeof(Run)).GetType("HeuristicLab.OKB." + tableName, true);
     150      Type tableType = Assembly.GetAssembly(typeof(Run)).GetType("HeuristicLab.Services.OKB.DataAccess" + tableName, true);
    151151      properties = from p in tableType.GetProperties()
    152152                   where SupportedTypes.Contains(p.PropertyType)
Note: See TracChangeset for help on using the changeset viewer.