/// <summary> /// Project the Either into an IQueryable of L /// </summary> /// <typeparam name="L">Left</typeparam> /// <typeparam name="R">Right</typeparam> /// <param name="either">Either to project</param> /// <returns>If the Either is in a Left state, an IQueryable of L with one item. A zero length IQueryable L otherwise</returns> public static IQueryable <L> leftToQuery <L, R>(EitherUnsafe <L, R> either) => either.LeftAsEnumerable().AsQueryable();