AssemblyRepository

Namespace: Babel.Data Assembly: Babel.Data.dll

public class AssemblyRepository : GenericRepository<Assembly>, IAssemblyRepository, IGenericRepository<Assembly>

Inheritance

objectGenericRepository<Assembly>AssemblyRepository

Implements

IAssemblyRepository, IGenericRepository<Assembly>

Inherited Members

GenericRepository<Assembly>.Get(Expression<Func<Assembly, bool>>, Func<IQueryable<Assembly>, IOrderedQueryable<Assembly>>, string, string, int?, int?), GenericRepository<Assembly>.GetAsync(Expression<Func<Assembly, bool>>, Func<IQueryable<Assembly>, IOrderedQueryable<Assembly>>, string, string, int?, int?, CancellationToken), GenericRepository<Assembly>.QueryAsync(string, string, string, string, int?, int?, CancellationToken), GenericRepository<Assembly>.GetById(params object[]), GenericRepository<Assembly>.GetByIdAsync(params object[]), GenericRepository<Assembly>.GetByIdAsync(object[], CancellationToken), GenericRepository<Assembly>.CountAsync(Expression<Func<Assembly, bool>>, CancellationToken), GenericRepository<Assembly>.CountAsync(string, CancellationToken), GenericRepository<Assembly>.Insert(Assembly), GenericRepository<Assembly>.InsertAsync(Assembly, CancellationToken), GenericRepository<Assembly>.Update(Assembly), GenericRepository<Assembly>.Delete(params object[]), GenericRepository<Assembly>.Delete(Assembly), GenericRepository<Assembly>.Save(), GenericRepository<Assembly>.SaveAsync(CancellationToken), GenericRepository<Assembly>.DbSet, GenericRepository<Assembly>.Context, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

AssemblyRepository(BabelDbContext)

Initializes a new instance of the AssemblyRepository class.

public AssemblyRepository(BabelDbContext context)

Parameters

Methods

Delete(IEnumerable<int>)

Deletes the given list of assemblies from the repository. Begins tracking the given list of assemblies in the Detached state such that it will be deleted in the database when SaveChanges() is called.

public void Delete(IEnumerable<int> assemblyIds)

Parameters

GetMapFileAsync(string)

Get the XML map file resource for the specified assembly full name.

public Task<Resource> GetMapFileAsync(string assemblyFullName)

Parameters

Returns

Update(Assembly)

Updates the given assembly in the repository. Begins tracking the given entity in the Modified state such that it will be updated in the database when SaveChanges() is called.

public override void Update(Assembly assembly)

Parameters

Last updated