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