public virtual void Dispose(bool disposing) { if (this._disposed) { return; } if (disposing) { Context.Dispose(); UserManager.Dispose(); ChatMessages.Dispose(); ChatRooms.Dispose(); ChatRoomUsers.Dispose(); Friends.Dispose(); PrivateMessages.Dispose(); } this._disposed = true; }