Is it possible to set the DataLoadOptions on a data context in F#? S开发者_JAVA技巧o far I have had no luck because the DataLoadOptions.LoadWith() takes a System.Linq.Expressions.LambdaExpression whic
I have an object in my view model that has a bunch of properties, some of them will occasionally be null. I don\'t want to just show some controls if these particular controls are null. How would I go
When setting the LoadOptions property on a LinqToSql DataContext, if the 开发者_开发知识库context has already returned results from another query, the exception \"Setting load options is not allowed a
I\'ve been using Rick Strahl\'s DataContextFactory code (Linq to SQL DataContext Lifetime Management) in a data layer consumed by an ASP.Net application. It works great because the current datacontext
I\'m using StructureMap to inject a LINQ data context (DB class) into my repositories for read queries on a HTTP-context basis, which are queried via a service layer. Everything works fine for a few h
What exactly does the LINQ-to-SQL method Table<T>.Attach() and Table<T>.AttachAll() and what is an example/situation for their proper usage?
I use DataContexts for 90% of my data access. But if, for instance, User1 modifies a record and User2 query the DataContext, he won\'t see the modifications. So I recreate my DataContext EVERY time I
I am developing an application that uses Entity Framework and WPF with MVVM design pattern.I have a number of entities, but to keep it simple, lets work with just a subset of them.Companies which can
I have a project that interacts with a datab开发者_开发百科ase through ADO.net Data Services. The database is large (almost 150 tables with dependencies). The project started a few years ago and there
I\'m using a LinqToSql DataContext and I want to 开发者_如何学Clock a record for being opened in write mode.Meaning while one user in Hong Kong has a record open in write mode, another user in France