From 37ec044ab06ef655e4735e99f8c0bfa4b6e25ef6 Mon Sep 17 00:00:00 2001 From: Basimodo Date: Mon, 28 Jun 2021 15:43:55 +0200 Subject: [PATCH] Added FK 'ContactId' (optional/nullable). Nullable property = optional relationship. --- Gremlin/GremlinData/EntityClasses/Quote.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gremlin/GremlinData/EntityClasses/Quote.cs b/Gremlin/GremlinData/EntityClasses/Quote.cs index 63492dc..1b19c76 100644 --- a/Gremlin/GremlinData/EntityClasses/Quote.cs +++ b/Gremlin/GremlinData/EntityClasses/Quote.cs @@ -9,12 +9,12 @@ namespace Gremlin.GremlinData.EntityClasses public uint QuoteId { get; set; } //foreign keys: + public uint? ContactId { get; set; } + + //navigation properties: public Contact Recipient { get; set; } public IList LineItems { get; set; } - - //navigation properties: - //NONE - + //class properties: public Contact SalesRep { get; set; } public string QuotationNumber { get; set; }