Class FormulaRepository
Namespace: Restaurant.Infrastructure.Repositories
Assembly: Restaurant.Infrastructure.dll
Inheritance
object ← Repository<Formula, RestaurantContext\> ← FormulaRepository
Implements
IFormulaRepository, IRepository<Formula\>
Inherited Members
Repository<Formula, RestaurantContext\>.GetAllAsync\(\), Repository<Formula, RestaurantContext\>.GetByIdAsync\(Guid\), Repository<Formula, RestaurantContext\>.GetByIdAsyncWithConcurrency\(Guid\), Repository<Formula, RestaurantContext\>.Add\(Formula\), Repository<Formula, RestaurantContext\>.Update\(Formula\), Repository<Formula, RestaurantContext\>.UpdateRange\(IEnumerable<Formula\>\), Repository<Formula, RestaurantContext\>.Delete\(Formula\), Repository<Formula, RestaurantContext\>.DeleteRange\(IEnumerable<Formula\>\), Repository<Formula, RestaurantContext\>.Exists\(Func<Formula, bool\>\), object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
FormulaRepository\(RestaurantContext\)
Parameters
context RestaurantContext
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.
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.
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.
Parameters
formulasData List <ProductBaseVerificationData\>
Returns
Task < IEnumerable <Formula\>\>