ContactRepository
Namespace: Babel.Data Assembly: Babel.Data.dll
Inheritance
object ← GenericRepository<Contact> ← ContactRepository
Implements
IContactRepository, IGenericRepository<Contact>
Inherited Members
GenericRepository<Contact>.Get(Expression<Func<Contact, bool>>, Func<IQueryable<Contact>, IOrderedQueryable<Contact>>, string, string, int?, int?), GenericRepository<Contact>.GetAsync(Expression<Func<Contact, bool>>, Func<IQueryable<Contact>, IOrderedQueryable<Contact>>, string, string, int?, int?, CancellationToken), GenericRepository<Contact>.QueryAsync(string, string, string, string, int?, int?, CancellationToken), GenericRepository<Contact>.GroupByAsync(string, string, int?, int?, CancellationToken), GenericRepository<Contact>.GetById(params object[]), GenericRepository<Contact>.GetByIdAsync(params object[]), GenericRepository<Contact>.GetByIdAsync(object[], CancellationToken), GenericRepository<Contact>.CountAsync(Expression<Func<Contact, bool>>, CancellationToken), GenericRepository<Contact>.CountAsync(string, CancellationToken), GenericRepository<Contact>.Insert(Contact), GenericRepository<Contact>.InsertAsync(Contact, CancellationToken), GenericRepository<Contact>.Update(Contact), GenericRepository<Contact>.Delete(params object[]), GenericRepository<Contact>.Delete(Contact), GenericRepository<Contact>.Save(), GenericRepository<Contact>.SaveAsync(CancellationToken), GenericRepository<Contact>.DbSet, GenericRepository<Contact>.Context, GenericRepository<Contact>.NoTracking, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ContactRepository(BabelDbContext)
Initializes a new instance of the ContactRepository class.
Parameters
The database context.
Methods
Delete(IEnumerable<int>)
Deletes the given list of contacts from the repository. Begins tracking the given list of contacts in the Detached state such that it will be deleted in the database when SaveChanges() is called.
Parameters
The assembly Identifiers to delete.
Last updated