public void ApplyTest() { QueryMethods.CrossApplyWithGroupByAndTake(); QueryMethods.CrossApplyWithGroupJoinAndTake(); QueryMethods.CrossApplyWithAssociationAndTake(); QueryMethods.OuterApplyWithGroupByAndFirstOrDefault(); // TODO.N+1. QueryMethods.OuterApplyWithGroupJoinAndFirstOrDefault(); // TODO.N+1. QueryMethods.OuterApplyWithAssociationAndFirstOrDefault(); // 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()); }