RelationalConnection.Semaphore Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
EF Core no longer uses this semaphore. It will be removed in an upcoming release.
Gets a semaphore used to serialize access to this connection.
public virtual System.Threading.SemaphoreSlim Semaphore { get; }
[System.Obsolete("EF Core no longer uses this semaphore. It will be removed in an upcoming release.")]
public virtual System.Threading.SemaphoreSlim Semaphore { get; }
member this.Semaphore : System.Threading.SemaphoreSlim
[<System.Obsolete("EF Core no longer uses this semaphore. It will be removed in an upcoming release.")>]
member this.Semaphore : System.Threading.SemaphoreSlim
Public Overridable ReadOnly Property Semaphore As SemaphoreSlim
Property Value
The semaphore used to serialize access to this connection.
Implements
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework