using System;
using System.Linq;
using System.Collections.Generic;
using EntityFrameworkCore.Projectables;
using Foo;

namespace EntityFrameworkCore.Projectables.Generated
#nullable disable
{
    public static class Foo_EntityExtensions_GetFirstName
    {
        public static System.Linq.Expressions.Expression<System.Func<Entity, string>> Expression()
        {
            return (Entity entity) => 
                entity.FullName != null ? (entity.FullName.Substring(entity.FullName != null ? (entity.FullName.IndexOf(' ') ) : null?? 0)) : null;
        }
    }
}