From 284df608d2df984996808ec029d843fcd787b4c5 Mon Sep 17 00:00:00 2001 From: Manitra Andriamitondra Date: Sun, 19 Mar 2023 21:59:32 +0300 Subject: [PATCH] Make .NET models partial classes for later customization By making the .NET models partial, developers can add fields, code or interface implementations or even base class. This allow a more flexible work flow where the developer generate only the model he needs. Then customize some of them (on separate files). Later they can generate again additional models without conflicting with their customizations. --- PortaCapena.OdooJsonRpcClient/Converters/OdooModelMapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PortaCapena.OdooJsonRpcClient/Converters/OdooModelMapper.cs b/PortaCapena.OdooJsonRpcClient/Converters/OdooModelMapper.cs index 748999e..eed0b3f 100644 --- a/PortaCapena.OdooJsonRpcClient/Converters/OdooModelMapper.cs +++ b/PortaCapena.OdooJsonRpcClient/Converters/OdooModelMapper.cs @@ -100,7 +100,7 @@ public static string GetDotNetModel(string tableName, Dictionary