Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

349 B
Raw Blame
using System.Linq.Expressions;

namespace Grand.Data;

public class ExpressionFieldDefinition<TDocument, TField>
{
    public ExpressionFieldDefinition(LambdaExpression expression, TField value)
    {
        Expression = expression;
        Value = value;
    }

    public LambdaExpression Expression { get; }
    public TField Value { get; }
}