	<rss version="2.0">
		<channel>
			<title>LLBLGen Pro Support System Architecture feed</title>
			<link>https://www.llblgen.com/tinyforum//Forum/17</link>
			<description>This is the RSS feed for the forum Architecture on the LLBLGen Pro Support System forum system.</description>
			<ttl>30</ttl>
			<language>en-us</language>
				<item>
					<title>.net RecyclableMemoryStream usage for LLBLGen entities by greenstone</title>
					<description>&lt;p&gt;Thanks!&lt;/p&gt;&#xA;</description>
					<author>greenstone</author>
					<link>https://www.llblgen.com/tinyforum/Thread/29073#154600</link>
					<pubdate>Thu, 12 Feb 2026 11:42:06 GMT</pubdate>
					<category>.net RecyclableMemoryStream usage for LLBLGen entities</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/29073#154600</guid>
				</item>
				<item>
					<title>.net RecyclableMemoryStream usage for LLBLGen entities by Otis</title>
					<description>&lt;p&gt;Streaming large objects from a database is the job of the ADO.NET provider, so if you want to optimize that in some way the ADO.NET provider has to offer a way to replace their own streaming system. To my knowledge none of them do&lt;/p&gt;&#xA;</description>
					<author>Otis</author>
					<link>https://www.llblgen.com/tinyforum/Thread/29073#154599</link>
					<pubdate>Thu, 12 Feb 2026 06:26:54 GMT</pubdate>
					<category>.net RecyclableMemoryStream usage for LLBLGen entities</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/29073#154599</guid>
				</item>
				<item>
					<title>.net RecyclableMemoryStream usage for LLBLGen entities by greenstone</title>
					<description>&lt;p&gt;Hi,&lt;/p&gt;&#xA;&lt;p&gt;For the purpose of setting/getting large binary objects from a database, can llblgen entities use the RecyclableMemoryStream (to optimize memory performance)? https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream&lt;/p&gt;&#xA;&lt;p&gt;Thanks!&lt;/p&gt;&#xA;</description>
					<author>greenstone</author>
					<link>https://www.llblgen.com/tinyforum/Thread/29073#154598</link>
					<pubdate>Thu, 12 Feb 2026 01:49:45 GMT</pubdate>
					<category>.net RecyclableMemoryStream usage for LLBLGen entities</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/29073#154598</guid>
				</item>
				<item>
					<title>Derived Models Common Base Classes by Otis</title>
					<description>&lt;p&gt;All code gets overwritten, so you can&#x27;t alter generated files. But, you can add additional namespaces which are then generated into the classes. &#xD;&#xA;Load your project into the designer, open the project settings, go to conventions -&amp;gt; Derived models -&amp;gt; your derived model -&amp;gt; Code generation -&amp;gt; Additional namespaces, and specify the namespace there for the element you want to have the namespace be included for, e.g. the root derived element. &lt;/p&gt;&#xA;&lt;p&gt;Then generate code &lt;img src=&quot;/tinyforum/pics/emojis/simple_smile.png&quot; class=&quot;emoji&quot; alt=&quot;simple_smile&quot;/&gt; &lt;/p&gt;&#xA;</description>
					<author>Otis</author>
					<link>https://www.llblgen.com/tinyforum/Thread/29022#154317</link>
					<pubdate>Fri, 29 Aug 2025 06:58:01 GMT</pubdate>
					<category>Derived Models Common Base Classes</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/29022#154317</guid>
				</item>
				<item>
					<title>Derived Models Common Base Classes by Jon_enabl</title>
					<description>&lt;p&gt;Greetings, it has been a while...&lt;/p&gt;&#xA;&lt;p&gt;Client wants to basically have a dervied model per microservice.  I have a set of base classes that I have for my derived models and now I need those spread across multiple direvied models.  &#xD;&lt;/p&gt;&#xA;&lt;p&gt;Seems like when I add the additional project ref it sticks after the project generation, but the using statement will get dropped.  Is there a way to preserve this using statement to prevent it from getting removed?&lt;/p&gt;&#xA;&lt;p&gt;After Project Generation&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code class=&quot;cs&quot;&gt;using System;&#xA;using System.ComponentModel;&#xA;using System.Runtime.Serialization;&#xA;using System.Collections.Generic;&#xA;&#xA;namespace ChannelSoft.DTO.PermissionX.DtoClasses&#xA;{ &#xA;    /// &amp;lt;summary&amp;gt; DTO class which is derived from the entity &#x27;Permission.Usergroup&#x27;.&amp;lt;/summary&amp;gt;&#xA;    [Serializable]&#xA;    [DataContract]&#xA;    public partial class UsergroupModel: BaseModel&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Before project Generation&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code class=&quot;cs&quot;&gt;using System;&#xA;using System.ComponentModel;&#xA;using System.Runtime.Serialization;&#xA;using System.Collections.Generic;&#xA;using ChannelSoft.DTO.Common&#xA;&#xA;namespace ChannelSoft.DTO.PermissionX.DtoClasses&#xA;{ &#xA;    /// &amp;lt;summary&amp;gt; DTO class which is derived from the entity &#x27;Permission.Usergroup&#x27;.&amp;lt;/summary&amp;gt;&#xA;    [Serializable]&#xA;    [DataContract]&#xA;    public partial class UsergroupModel: BaseModel //BaseModel from DTO.Common Project&#xA;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;</description>
					<author>Jon_enabl</author>
					<link>https://www.llblgen.com/tinyforum/Thread/29022#154316</link>
					<pubdate>Thu, 28 Aug 2025 17:11:22 GMT</pubdate>
					<category>Derived Models Common Base Classes</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/29022#154316</guid>
				</item>
				<item>
					<title>Integration re: document dbs and ADO.NET drivers by Otis</title>
					<description>&lt;blockquote&gt;&lt;p class=&quot;quote-nickname&quot;&gt;Jamanga wrote:&lt;/p&gt;&#xA;&lt;blockquote&gt;&lt;p class=&quot;quote-nickname&quot;&gt;Otis wrote:&lt;/p&gt;&#xA;&lt;p&gt;I can&#x27;t help you with the driver part, I honestly haven&#x27;t heard from someone else using that. &lt;/p&gt;&#xA;&lt;p&gt;Wrt the derived models: these are designed to be denormalized, and a projection of the entities they&#x27;re based on; the idea is basically that your entity model drives the derived models so a change in the entity model drives changes in the derived models so things aren&#x27;t connected by unwritten vagueness. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Hi Otis&lt;/p&gt;&#xA;&lt;p&gt;Early days as we aren&#x27;t looking into this full-time, but just to mention for anyone that is interested - we were able to create a Couchbase driver for LLBLGen via the cdata &amp;quot;ADO.NET&amp;quot; couchbase driver, and got it working i.e. schema elements coming back into your designer, where they can be selected -&amp;gt; come back as entities, and returned at runtime via standard LLBLGen adapter syntax.  We haven&#x27;t checked writing yet (Couchbase uses an Upsert type syntax) so we might get stuck there... we will see.  Is it ok to post a specific question around this if we do get stuck?&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Sure &lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The cdata has a GetSchema() method which queries the various buckets to find the existing document samples, then we are able to select these and map them back to an entity within the designer.  It worked for sub-documents too.  The only downside so far is that you need to map these IsModelOnly relationships yourself (which isn&#x27;t a big deal).&lt;/p&gt;&#xA;&lt;p&gt;The initial downside was performance - it was really poor, around 5 seconds to return an entity.  It turned out that this is because, by default, the cdata re-queries the schema upon the first connection for a session.  So once we saved this schema to a file, the driver can prefetch it, and we were back to milliseconds returning documents, as expected.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Glad you got it working! &lt;img src=&quot;/tinyforum/pics/emojis/simple_smile.png&quot; class=&quot;emoji&quot; alt=&quot;simple_smile&quot;/&gt; &lt;/p&gt;&#xA;</description>
					<author>Otis</author>
					<link>https://www.llblgen.com/tinyforum/Thread/28979#154145</link>
					<pubdate>Fri, 04 Apr 2025 07:14:44 GMT</pubdate>
					<category>Integration re: document dbs and ADO.NET drivers</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/28979#154145</guid>
				</item>
				<item>
					<title>Integration re: document dbs and ADO.NET drivers by Jamanga</title>
					<description>&lt;blockquote&gt;&lt;p class=&quot;quote-nickname&quot;&gt;Otis wrote:&lt;/p&gt;&#xA;&lt;p&gt;I can&#x27;t help you with the driver part, I honestly haven&#x27;t heard from someone else using that. &lt;/p&gt;&#xA;&lt;p&gt;Wrt the derived models: these are designed to be denormalized, and a projection of the entities they&#x27;re based on; the idea is basically that your entity model drives the derived models so a change in the entity model drives changes in the derived models so things aren&#x27;t connected by unwritten vagueness. &lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Hi Otis&lt;/p&gt;&#xA;&lt;p&gt;Early days as we aren&#x27;t looking into this full-time, but just to mention for anyone that is interested - we were able to create a Couchbase driver for LLBLGen via the cdata &amp;quot;ADO.NET&amp;quot; couchbase driver, and got it working i.e. schema elements coming back into your designer, where they can be selected -&amp;gt; come back as entities, and returned at runtime via standard LLBLGen adapter syntax.  We haven&#x27;t checked writing yet (Couchbase uses an Upsert type syntax) so we might get stuck there... we will see.  Is it ok to post a specific question around this if we do get stuck?&lt;/p&gt;&#xA;&lt;p&gt;The cdata has a GetSchema() method which queries the various buckets to find the existing document samples, then we are able to select these and map them back to an entity within the designer.  It worked for sub-documents too.  The only downside so far is that you need to map these IsModelOnly relationships yourself (which isn&#x27;t a big deal).&lt;/p&gt;&#xA;&lt;p&gt;The initial downside was performance - it was really poor, around 5 seconds to return an entity.  It turned out that this is because, by default, the cdata re-queries the schema upon the first connection for a session.  So once we saved this schema to a file, the driver can prefetch it, and we were back to milliseconds returning documents, as expected.&lt;/p&gt;&#xA;</description>
					<author>Jamanga</author>
					<link>https://www.llblgen.com/tinyforum/Thread/28979#154144</link>
					<pubdate>Fri, 04 Apr 2025 06:11:50 GMT</pubdate>
					<category>Integration re: document dbs and ADO.NET drivers</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/28979#154144</guid>
				</item>
				<item>
					<title>Integration re: document dbs and ADO.NET drivers by Otis</title>
					<description>&lt;p&gt;I can&#x27;t help you with the driver part, I honestly haven&#x27;t heard from someone else using that. &lt;/p&gt;&#xA;&lt;p&gt;Wrt the derived models: these are designed to be denormalized, and a projection of the entities they&#x27;re based on; the idea is basically that your entity model drives the derived models so a change in the entity model drives changes in the derived models so things aren&#x27;t connected by unwritten vagueness. &lt;/p&gt;&#xA;</description>
					<author>Otis</author>
					<link>https://www.llblgen.com/tinyforum/Thread/28979#154138</link>
					<pubdate>Thu, 20 Mar 2025 06:36:36 GMT</pubdate>
					<category>Integration re: document dbs and ADO.NET drivers</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/28979#154138</guid>
				</item>
				<item>
					<title>Integration re: document dbs and ADO.NET drivers by Jamanga</title>
					<description>&lt;blockquote&gt;&lt;p class=&quot;quote-nickname&quot;&gt;Otis wrote:&lt;/p&gt;&#xA;&lt;p&gt;Have you looked at this? &lt;a href=&quot;https://www.llblgen.com/Documentation/5.9/Designer/Functionality%20Reference/AvailableDerivedModelFrameworks.htm#document-databasee&quot; rel=&quot;nofollow&quot;&gt;https://www.llblgen.com/Documentation/5.9/Designer/Functionality%20Reference/AvailableDerivedModelFrameworks.htm#document-databasee&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Hi Otis&lt;/p&gt;&#xA;&lt;p&gt;Thanks for the response, yes and I did a quick prototype i.e. generated DTO version of an entity, then exposed them via a web API. It was ok. Obviously not as flexible as accessing the data directly with custom filtering.&lt;/p&gt;&#xA;&lt;p&gt;I&#x27;m starting to think it might be worth refactoring my primary business entities to take better advantage of the document structure, even though this will mean less normalisation.  But before this, I was hopeful someone else might have used something like these cdata drivers (and whether it would be worth creating an LLBLGen driver, as I did with Sybase ASE one) so that it could work &amp;quot;as is&amp;quot;, e.g. for legacy projects.&lt;/p&gt;&#xA;</description>
					<author>Jamanga</author>
					<link>https://www.llblgen.com/tinyforum/Thread/28979#154137</link>
					<pubdate>Wed, 19 Mar 2025 00:03:47 GMT</pubdate>
					<category>Integration re: document dbs and ADO.NET drivers</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/28979#154137</guid>
				</item>
				<item>
					<title>Integration re: document dbs and ADO.NET drivers by Otis</title>
					<description>&lt;p&gt;Have you looked at this? &lt;a href=&quot;https://www.llblgen.com/Documentation/5.9/Designer/Functionality%20Reference/AvailableDerivedModelFrameworks.htm#document-databasee&quot; rel=&quot;nofollow&quot;&gt;https://www.llblgen.com/Documentation/5.9/Designer/Functionality%20Reference/AvailableDerivedModelFrameworks.htm#document-databasee&lt;/a&gt;&lt;/p&gt;&#xA;</description>
					<author>Otis</author>
					<link>https://www.llblgen.com/tinyforum/Thread/28979#154136</link>
					<pubdate>Tue, 18 Mar 2025 11:18:13 GMT</pubdate>
					<category>Integration re: document dbs and ADO.NET drivers</category>
					<guid ispermalink="true">https://www.llblgen.com/tinyforum/Thread/28979#154136</guid>
				</item>
		</channel>
	</rss>
