Changeset 9619 for branches/OaaS/HeuristicLab.Services.Optimization.Billing/DataAccess/BillingContext.cs
- Timestamp:
- 06/12/13 16:34:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Billing/DataAccess/BillingContext.cs
r9602 r9619 28 28 public BillingContext(string connectionString) 29 29 : base(connectionString) { 30 30 this.Configuration.LazyLoadingEnabled = false; 31 this.Configuration.ProxyCreationEnabled = false; 31 32 } 32 33 … … 96 97 protected override void Seed(BillingContext context) { 97 98 Product p1 = new Product() { 98 Name = "O ptimization-as-a-Service - Experiment execution",99 Name = "OaaS BAsic Service Charge", 99 100 Description = "Create and run your experiments within HeuristicLab Hive", 100 ProductId = 1, 101 Price = 10.0, 101 Price = 20.0, 102 102 ProductType = "Optimization Service" 103 103 }; 104 105 Product p2 = new Product() { 106 Name = "Oaas Usage Charges", 107 Description = "Charges for OaaS based on usage data", 108 Price = 0.0, 109 ProductType = "Optimization Service" 110 }; 111 112 Product p3 = new Product() { 113 Name = "Oaas Support Package", 114 Description = "Charges for OaaS based on usage data", 115 Price = 50.0, 116 ProductType = "Optimization Service" 117 }; 118 104 119 p1 = context.Products.Add(p1); 120 p2 = context.Products.Add(p2); 121 p3 = context.Products.Add(p3); 105 122 106 123 User u1 = new Model.User() { Name = "spimming" };
Note: See TracChangeset
for help on using the changeset viewer.