LinqToSQL2
LinqToSQL2 copied to clipboard
Official Linq to SQL fork. A complete ORM which is backwards compatible with Linq to SQL but with new features.
Similar to #16 Delete by Query but let you update instead. See that issue for more info. I'm not going to suggest a syntax here, just show what EFUtilities does....
In the LLBLGen Pro query engines we don't use any ADO.NET specific namespaces and the db engines in Linq to Sql2 should not depend on any external namespace. This requires...
To make it possible to support multiple database types, the sql server specific code has to be refactored into a separate assembly. Make sure it builds on top of a...
(Related to #20) It might be required to exclude some fields from a fetch, e.g. because these fields are very big (data wise) and not needed for the use case...
This test fails ``` C# [Test] public void PhantomInsertPreventionTest() { var newCustomer = new Customer(); var ba = new Address(); var va = new Address(); newCustomer.VisitingAddress = va; newCustomer.BillingAddress =...
Entity splitting is sometimes a nice feature if you want to model a part of an entity into another entity. Typical example is to model the Photo field (which is...
When writing extensions for EF it's actually incredibly hard to find out what DB engine is being used. You end up checking the connection which is a problem if that...
Not sure how L2S worked here to start with. I just know how horrible that was in earlier versions of EF. It's much easier if I as an extension author...
One cool thing EF7 will do is to use OUTPUT in Sql Server to support batch inserts even with db generated ids. I have not investigated if any other engines...
Something similar to: ``` db.SetX.DeleteWhere(b => b.Created < limit && b.Title == "T2.0"); ``` The code to generate the filter is already there. The tricky part is that delete is...