From 1af6883c6080bd189efe0f793c83a31e5200ac06 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Thu, 1 Sep 2016 18:42:12 +0200 Subject: [PATCH] Billing clauses still are too virtual to be mapped in db (no default implementation yet) --- Yavsc/Model/Market/Service.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Yavsc/Model/Market/Service.cs b/Yavsc/Model/Market/Service.cs index 16db3d89..11ce67af 100644 --- a/Yavsc/Model/Market/Service.cs +++ b/Yavsc/Model/Market/Service.cs @@ -9,6 +9,19 @@ namespace Yavsc.Models.Market { [ForeignKey("ContextId")] public virtual Activity Context { get; set; } + /// + /// List of billing clause, + /// associated to this service, + /// that defines the transformation rules + /// to take in account during the transformation + /// of a corresponding prestation to an amount to pay. + /// This property is built at constructing a new instance + /// and is not mapped in database. + /// For the moment, it's hard coded only. + /// + /// + + [NotMapped] public List Billing { get; set; } }