Owneat Technical Guide main Help

Class FormulaSectionRepository

Namespace: Restaurant.Infrastructure.Repositories
Assembly: Restaurant.Infrastructure.dll

public sealed class FormulaSectionRepository : Repository<FormulaSection, RestaurantContext>, IFormulaSectionRepository, IRepository<FormulaSection>

Inheritance

object ← Repository<FormulaSection, RestaurantContext\> ← FormulaSectionRepository

Implements

IFormulaSectionRepository, IRepository<FormulaSection\>

Inherited Members

Repository<FormulaSection, RestaurantContext\>.GetAllAsync\(\), Repository<FormulaSection, RestaurantContext\>.GetByIdAsync\(Guid\), Repository<FormulaSection, RestaurantContext\>.GetByIdAsyncWithConcurrency\(Guid\), Repository<FormulaSection, RestaurantContext\>.Add\(FormulaSection\), Repository<FormulaSection, RestaurantContext\>.Update\(FormulaSection\), Repository<FormulaSection, RestaurantContext\>.UpdateRange\(IEnumerable<FormulaSection\>\), Repository<FormulaSection, RestaurantContext\>.Delete\(FormulaSection\), Repository<FormulaSection, RestaurantContext\>.DeleteRange\(IEnumerable<FormulaSection\>\), Repository<FormulaSection, RestaurantContext\>.Exists\(Func<FormulaSection, bool\>\), object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

FormulaSectionRepository\(RestaurantContext\)

public FormulaSectionRepository(RestaurantContext context)

Parameters

context RestaurantContext

Methods

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

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

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

Parameters

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

Returns

Task <FormulaSection?\>

Remarks

This method includes related entities.

Last modified: 21 May 2024