public void ApplyTest() { QueryMethods.CrossApplyWithGroupByAndTake(); QueryMethods.CrossApplyWithGroupJoinAndTake(); QueryMethods.CrossApplyWithRelationshipAndTake(); QueryMethods.OuterApplyWithGroupByAndFirstOrDefault(); // TODO.N+1. QueryMethods.OuterApplyWithGroupJoinAndFirstOrDefault(); // TODO.N+1. QueryMethods.OuterApplyWithRelationshipAndFirstOrDefault(); // TODO.N+1. }
public void ApplyTest() { QueryMethods.CrossApplyWithGroupByAndTake(new AdventureWorks()); QueryMethods.CrossApplyWithGroupJoinAndTake(new AdventureWorks()); #if NETFX QueryMethods.CrossApplyWithRelationshipAndTake(new AdventureWorks()); #endif QueryMethods.OuterApplyWithGroupByAndFirstOrDefault(new AdventureWorks()); QueryMethods.OuterApplyWithGroupJoinAndFirstOrDefault(new AdventureWorks()); QueryMethods.OuterApplyWithRelationshipAndFirstOrDefault(new AdventureWorks()); }