I have a table with some Blob fields that I do not want to load by default.
It is possible to set up a late-loaded property for such areas in a DBML file.
Is there any similar option for external mapping files?
I'm not familiar with "external mapping files", but it's basically that you do LINQ-to How to do lazy loading with SQL:
Private Systems. Data.Linq.Link & lt; String & gt; _material; [Columns (name = "content", dbipp = "nirvana (max)", storage = "_content")] {get public string content. This._content.value; } Set {this._content.Value = value; }}
using the System.Data.Linq.Link & lt; String & gt; As a result of personal variables, the property is full of delays, as long as the delay is not disabled when loading it Datacontext
Comments
Post a Comment