protected virtual void Dispose(bool disposing) { if (this.DisposeContext && disposing && this.Context != null) { this.Context.Dispose(); } this._disposed = true; this.Context = null; this._rowFilterStoreBase = null; }
public RowFilterStore(DbContext context) { if (context == null) { throw new ArgumentNullException("context"); } this.Context = context; this._rowFilterStoreBase = new RowFilterStoreBase(context); this._rowFilterTypeStoreBase = new RowFilterTypeStoreBase(context); }