RelationalDbContextOptionsBuilder<TBuilder,TExtension>.SetOption Method
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.
Sets an option by cloning the extension used to store the settings. This ensures the builder does not modify options that are already in use elsewhere.
protected virtual TBuilder SetOption (Action<TExtension> setAction);
abstract member SetOption : Action<'Extension (requires 'Extension :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension)> -> 'Builder
override this.SetOption : Action<'Extension (requires 'Extension :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension)> -> 'Builder
Protected Overridable Function SetOption (setAction As Action(Of TExtension)) As TBuilder
Parameters
- setAction
- Action<TExtension>
An action to set the option.
Returns
TBuilder
The same builder instance so that multiple calls can be chained.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: