I have a table that contains some blob fields that I don’t want to load by default.
In a dbml file it is possible to set the delay loaded property for such fields.
Is there a similar option for external mapping files?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not familiar with ‘external mapping files’, but this is basically how you do lazy loading with LINQ-to-SQL:
Using
System.Data.Linq.Link<String>as the private variable causes that property to be delay loaded, unless delay loading is disabled on the DataContext.