Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g6Fb3-0004WD-C4 for pgsql-general@arkaria.postgresql.org; Sat, 29 Sep 2018 13:47:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g6Fb1-0003bC-I9 for pgsql-general@arkaria.postgresql.org; Sat, 29 Sep 2018 13:47:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g6Fb1-0003b5-7W for pgsql-general@lists.postgresql.org; Sat, 29 Sep 2018 13:47:47 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g6Fav-000615-BY for pgsql-general@postgresql.org; Sat, 29 Sep 2018 13:47:46 +0000 Received: by mail-qt1-x844.google.com with SMTP id n6-v6so9659120qtl.4 for ; Sat, 29 Sep 2018 06:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=KWsdkQpTUSyyzkTamWu7s47VyRRZps/GtxPGrEeZitc=; b=GoUMIUFx+nEjKHxSvXKXPaC4ci4Azf+5Bdw85NCWOSF+ou3cDwfIOk90EbV4HGLDI4 faXdFPRnUDXAX0FS0cinyxiRoDgo1szzZ7SzPmFNlrGSqFNyneBxhoH2flFZpauTOWE/ MI8UYQj38c0qmHAs5kwQJq1tPYt78A5wQUSGAJIzFkcDNE/MsnhQ5g6gkVJwJH0gLbPJ cmf+gfPT8m4/Yv8ooJF4VPs1Z5yJEg4fZEvr/47e4eHJ3H5K3ceGClgMUsisEciXJ/9R 5qYTN1PCR/APNScf+TaLFnqXXsOXdqbEsisaKrrmdIUkaFZX2GzoHQik/GGnySaSVu8I rHrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=KWsdkQpTUSyyzkTamWu7s47VyRRZps/GtxPGrEeZitc=; b=B8s6BAJ1RY1yDuiUlqwbHDuo1hmyZt4C4xlqP3jNPHX1yFmx8wVJNBIfAKS1wMkTC+ z9kRDizQvK8AAGTaEcWMQ1yeqbyCLkNfDCvGMJYkK338jAEhHB8NY50l9BOrqGyltV1A 61txd1/YOq+VW1j9OdmBDyZ2sXTnrfObJQdkkO2+1bfZFTNhVxKmcY/a2AKKVNmo6F2v QYSY4mPkOWzEpVA3b3J1lzBh1pQnnjSddgClLBBmBDvN9FisKJe2c3Qfa/sU5Xnv1lb9 VsHvuouroyGJ7khT0P7ASh4S4pT/Zx88G+80ZjznnFAbFbVcAU1chpT8czzl+4FMnNys k2Jw== X-Gm-Message-State: ABuFfoilWS+JxnlYRCauw7VcqU5IZ7rkAeFgj+DAgzil2QMeVtE3wISP AC/gEFq+/+gPQtN7PXs47ETPa8vt X-Google-Smtp-Source: ACcGV63vVH1MW3d219E+1ymQQqWZZ+TAFSWBvgqWlQO1FyIyqWqesIxJKZNfkSYSsK418aZj90fQlg== X-Received: by 2002:aed:3eac:: with SMTP id n41-v6mr515338qtf.196.1538228858449; Sat, 29 Sep 2018 06:47:38 -0700 (PDT) Received: from [192.168.1.250] ([186.153.66.52]) by smtp.gmail.com with ESMTPSA id m190-v6sm4238874qkd.48.2018.09.29.06.47.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 06:47:37 -0700 (PDT) Subject: Re: ORM To: Adrian Klaver , "pgsql-general@postgresql.org" References: <33c827b6-1934-331e-1c46-b1193f23eacc@gmail.com> <01527418-5e1b-3f8e-5944-805bd9f920df@aklaver.com> From: marcelo Message-ID: <6f517be4-eaf9-247f-ed5d-fac3489f41ea@gmail.com> Date: Sat, 29 Sep 2018 10:47:34 -0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <01527418-5e1b-3f8e-5944-805bd9f920df@aklaver.com> Content-Type: multipart/alternative; boundary="------------784C275B665E41A5F7DBD99A" Content-Language: en-US X-Antivirus: Avast (VPS 180929-2, 29/09/2018), Outbound message X-Antivirus-Status: Clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------784C275B665E41A5F7DBD99A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 28/09/2018 21:39 , Adrian Klaver wrote: > On 9/28/18 3:49 PM, marcelo wrote: >> For a new big and convoluted project I (am/was) using Devart´s >> LinqConnect as ORM. >> But today I experienced some inexplicable "object reference not set >> to an instance of an object" exceptions or other more specific to >> this libraries. >> I would wish to change the ORM. >> Some experiences would be appreciated. Of course, I prefer open >> source software, at least to chase errors thru debugging. > > Information that might help folks steer you to alternatives: > > 1) What programming language(s) are you using? /C#, from 4.5 framework./ > > 2) The OS'es involved /Linux for the database server, Windows for client machines.// / > // > 3) Are you using any frameworks between the database and the end user? /Yes, a very big one, developed by me (or using open source libraries at some spots), which tries to implement MVP pattern. It´s near completely agnostic regarding the DAL layer, but I cannot deny that it may be somewhat influenced by the Devart´s model.// / > // > 4) Is an ORM even necessary? /Yes; there are around 50 entities and with lots of foreign keys. It´s well worth to have pre-plumbed the code to get "fathers" and "child collections". Ah, and I´m working alone./ > > >> TIA >> >> --- >> El software de antivirus Avast ha analizado este correo electrónico >> en busca de virus. >> https://www.avast.com/antivirus >> >> >> > > --- El software de antivirus Avast ha analizado este correo electrónico en busca de virus. https://www.avast.com/antivirus --------------784C275B665E41A5F7DBD99A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

On 28/09/2018 21:39 , Adrian Klaver wrote:
On 9/28/18 3:49 PM, marcelo wrote:
For a new big and convoluted project I (am/was) using Devart´s LinqConnect as ORM.
But today I experienced some inexplicable "object reference not set to an instance of an object" exceptions or other more specific to this libraries.
I would wish to change the ORM.
Some experiences would be appreciated. Of course, I prefer open source software, at least to chase errors thru debugging.

Information that might help folks steer you to alternatives:

1) What programming language(s) are you using?
C#, from 4.5 framework.

2) The OS'es involved
Linux for the database server, Windows for client machines.

3) Are you using any frameworks between the database and the end user?
Yes, a very big one, developed by me (or using open source libraries at some spots), which tries to implement MVP pattern. It´s near completely agnostic regarding the DAL layer, but I cannot deny that it may be somewhat influenced by the Devart´s model.

4) Is an ORM even necessary?
Yes; there are around 50 entities and with lots of foreign keys. It´s well worth to have pre-plumbed the code to get "fathers" and "child collections". Ah, and I´m working alone.


TIA

---
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus







Libre de virus. www.avast.com
--------------784C275B665E41A5F7DBD99A--