Class FoodLabelRepository
Namespace: Restaurant.Infrastructure.Repositories
Assembly: Restaurant.Infrastructure.dll
Inheritance
object ← Repository<FoodLabel, RestaurantContext\> ← FoodLabelRepository
Implements
IFoodLabelRepository, IRepository<FoodLabel\>
Inherited Members
Repository<FoodLabel, RestaurantContext\>.GetAllAsync\(\), Repository<FoodLabel, RestaurantContext\>.GetByIdAsync\(Guid\), Repository<FoodLabel, RestaurantContext\>.GetByIdAsyncWithConcurrency\(Guid\), Repository<FoodLabel, RestaurantContext\>.Add\(FoodLabel\), Repository<FoodLabel, RestaurantContext\>.Update\(FoodLabel\), Repository<FoodLabel, RestaurantContext\>.UpdateRange\(IEnumerable<FoodLabel\>\), Repository<FoodLabel, RestaurantContext\>.Delete\(FoodLabel\), Repository<FoodLabel, RestaurantContext\>.DeleteRange\(IEnumerable<FoodLabel\>\), Repository<FoodLabel, RestaurantContext\>.Exists\(Func<FoodLabel, bool\>\), object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
FoodLabelRepository\(RestaurantContext\)
Parameters
context RestaurantContext
Methods
GetAsync\(Expression<Func<FoodLabel, bool\>\>\)
Method that get an entity of type Restaurant.Domain.Aggregates.ProductAggregate.FoodLabel in the database that satisfy given System.Linq.Expressions.Expression.
Parameters
expression Expression < Func <FoodLabel, bool \>\>
Returns
Task <FoodLabel?\>
Remarks
This method includes related entities.