Owneat Technical Guide main Help

Interface IFormulaRepository

Namespace: Restaurant.Domain.Aggregates.FormulaAggregate.Contracts
Assembly: Restaurant.Domain.dll

public interface IFormulaRepository : IRepository<Formula>

Implements

IRepository<Formula\>

Methods

GetAsync\(Expression<Func<Formula, bool\>\>\)

Method that get an entity of type Restaurant.Domain.Aggregates.CategoryAggregate.Category in the database that satisfy given System.Linq.Expressions.Expression.

Task<Formula?> GetAsync(Expression<Func<Formula, bool>> expression)

Parameters

expression Expression < Func < Formula, bool \>\>

Returns

Task < Formula ?\>

Remarks

This method includes related entities.

GetListAsync\(Expression<Func<Formula, bool\>\>\)

Method that get a list of type Restaurant.Domain.Aggregates.CategoryAggregate.Category in the database that satisfy given System.Linq.Expressions.Expression.

Task<IEnumerable<Formula>> GetListAsync(Expression<Func<Formula, bool>> expression)

Parameters

expression Expression < Func < Formula, bool \>\>

Returns

Task < IEnumerable < Formula \>\>

VerifyOrderIntegrity\(List<ProductBaseVerificationData\>\)

Method that get a list of available type Restaurant.Domain.Aggregates.FormulaAggregate.Formula in the database that satisfy given System.Linq.Expressions.Expression.

Task<IEnumerable<Formula>> VerifyOrderIntegrity(List<ProductBaseVerificationData> formulasData)

Parameters

formulasData List < ProductBaseVerificationData \>

Returns

Task < IEnumerable < Formula \>\>

Last modified: 21 May 2024