Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/12/13 16:34:04 (11 years ago)
Author:
spimming
Message:

#1888:

  • Added new BillingService methods
  • Disabled proxy generation and lazy loading!
  • Extended see method with additional test data
  • Added properties to order and invoice model
  • initial commit of BillingEngine module
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Billing.Test/Program.cs

    r9602 r9619  
    11using System;
    22using System.Data.Entity.Infrastructure;
     3using System.Diagnostics;
    34using System.IO;
     5using System.Threading;
    46using HeuristicLab.Services.Optimization.Billing.DataAccess;
    57using HeuristicLab.Services.Optimization.Billing.Model;
     
    79namespace HeuristicLab.Services.Optimization.Billing.Test {
    810  class Program {
     11    private static BillingEngine.BillingEngine billingEngine;
     12    private static Thread billingEngineThread;
     13
    914    static void Main(string[] args) {
    1015      string ddlScript;
     
    2530      }
    2631
     32      // Start BillingEngine Service:
     33      Trace.WriteLine("Starting BillingEngine ...");
     34      try {
     35        billingEngine = new BillingEngine.BillingEngine();
     36        billingEngineThread = new Thread(billingEngine.Run);
     37        billingEngineThread.IsBackground = true; //dont keep app alive
     38        billingEngineThread.Start();
     39      }
     40      catch (Exception e) {
     41        Trace.WriteLine("Error during BillingEngine startup: " + e.Message);
     42      }
     43
    2744      Console.WriteLine("Press any key to exit...");
    2845      Console.ReadKey();
Note: See TracChangeset for help on using the changeset viewer.