Пример #1
0
        public IEnumerable <dynamic> EagerLoad(IEnumerable <dynamic> models, dynamic options)
        {
            var sql = InnerJoinSelectClause(XRefFromColumn, toTable, throughTable, XRefToColumn, ToTableColumn, PropertyContainingIdValue, models.ToArray());

            return(EagerLoadMany.Execute(options, Repository, MethodName, sql, models, XRefFromColumn));
        }
Пример #2
0
        public IEnumerable <dynamic> EagerLoad(IEnumerable <dynamic> models, dynamic options)
        {
            var sql = InnerJoinSelectClause(fromColumn, toTable, throughTable, resolvedForeignKey, models.ToArray());

            return(EagerLoadMany.Execute(options, Repository, Named, sql, models, fromColumn));
        }