public Task Disconnect() { return(Task.Run(() => { context.Dispose(); Conne?.Invoke(context); })); }
public Task Connect() { return(Task.Run(() => { context = new EFContext(); context.Configuration.AutoDetectChangesEnabled = false; var a = context.Access.Count(); Conne?.Invoke(context); })); }