Esempio n. 1
0
 protected override IAssociationLoader <IEnumerable <TAssociation> > CreateSelector()
 {
     return(new OperationBasedAssociationLoader <IEnumerable <TAssociation> >(Factory.Constructor,
                                                                              ExpressionParameterExtractor.ExtractParameters(Factory.Arguments)));
 }
Esempio n. 2
0
 protected override IAssociationLoader <IEnumerable <TAssociation> > CreateSelector()
 {
     return(new OperationFactoryBasedAssociationLoader <IEnumerable <TAssociation> >(typeof(TOperationFactory),
                                                                                     Selector.Method, ExpressionParameterExtractor.ExtractParameters(Selector.Arguments)));
 }
 protected override IAssociationLoader <TAssociation> CreateSelector()
 {
     return(new RepositoryBasedAssociationLoader <TAssociation>(typeof(TRepository),
                                                                Selector.Method, ExpressionParameterExtractor.ExtractParameters(Selector.Arguments)));
 }