public virtual void Update(ApplicationPrincipalRowFilter entity)
 {
     if (entity != null)
     {
         this.Context.Entry <ApplicationPrincipalRowFilter>(entity).State = EntityState.Modified;
     }
 }
 public virtual void Delete(ApplicationPrincipalRowFilter rowFilter)
 {
     this.ThrowIfDisposed();
     if (rowFilter == null)
     {
         throw new ArgumentNullException("rowFilter");
     }
     this._rowFilterStoreBase.Delete(rowFilter);
     this.Context.SaveChanges();
 }
 public virtual async Task CreateAsync(ApplicationPrincipalRowFilter rowFilter)
 {
     this.ThrowIfDisposed();
     if (rowFilter == null)
     {
         throw new ArgumentNullException("rowFilter");
     }
     this._rowFilterStoreBase.Create(rowFilter);
     await this.Context.SaveChangesAsync();
 }
 public IdentityResult UpdateRowFilter(ApplicationPrincipalRowFilter rowFilter)
 {
     _rowFilterStore.Update(rowFilter);
     return(IdentityResult.Success);
 }
        public async Task <IdentityResult> UpdateRowFilterAsync(ApplicationPrincipalRowFilter rowFilter)
        {
            await _rowFilterStore.UpdateAsync(rowFilter);

            return(IdentityResult.Success);
        }
 public void Delete(ApplicationPrincipalRowFilter entity)
 {
     this.DbEntitySet.Remove(entity);
 }
 public void Create(ApplicationPrincipalRowFilter entity)
 {
     this.DbEntitySet.Add(entity);
 }