public IQueryOver <TEntity> LeftJoin <TOther>(Expression <Func <TEntity, object> > entity, Expression <Func <TOther, object> > other) where TOther : class, new() { var action = new LeftJoinAction <TEntity, TOther>(_metadatastore); action.Enqueue(entity, other); _queryDefinition.AddJoin(action); return(this); }
public IQuery <TParentEntity> LeftJoinOn <TChildEntity>(Expression <Func <TChildEntity, object> > child, Expression <Func <TParentEntity, object> > parent) where TChildEntity : class, new() { var leftJoinAction = new LeftJoinAction <TParentEntity, TChildEntity>(_metadatastore); leftJoinAction.Enqueue(parent, child); _joinActions.Add(leftJoinAction); return(this); }