Sam Cook

Results 10 issues of Sam Cook

Tracks the commit status of each object independently to `ObjectState`, as otherwise `ObjectState` and changed properties could be inconsistent between before and after submit data access hooks (particularly server side...

Changes to the generated IL so that it passes `peverify` checks.

I've come across a couple of inconsistencies with tracking what properties have changed using data model hooks. I've pushed a branch with some test cases demonstrating the issue here: samcook/Shaolinq@11d0e0c740f09b76024995fb9ab216ee8cbede4a...

The `BeforeSubmit` and `AfterSubmit` hooks fire before and after a submit (i.e. flush) to the database, however: - this can happen multiple times per transaction, depending on when things are...

enhancement

If you have a DataAccessObject with a property that can contain nulls (e.g. string, nullable int, nullable bool, etc...), performing an `All(x => ...)` operation can give incorrect results, as...

When including a 1-n relationship, ordering is not always applied as expected, depending on where in the expression the ordering is specified. ### Example 1 (OrderBy before Include) :x: ```csharp...

bug

A null conditional extension method call in an async method breaks the build of a project that uses AsyncRewriter (even if the class or method isn't attributed for rewriting). ```csharp...

AsyncRewriter inserts async method calls inside code that is within a lock section, however this won't compile (`Cannot await in the body of a lock statement`): ```csharp lock (lockObj) {...

Hi, I'm having an issue where, since adding `[assembly: Parallelizable(ParallelScope.Fixtures)]` to one of our test assemblies, our tests are sporadically hanging in TeamCity (running version 3.10 of the nunit console...