CosmosDatabaseFacadeExtensions.AppendSessionTokens 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.
Appends the composite sessions token per container for this DbContext with the tokens specified in
sessionTokens.
public static void AppendSessionTokens(this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade, System.Collections.Generic.IReadOnlyDictionary<string,string> sessionTokens);
static member AppendSessionTokens : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade * System.Collections.Generic.IReadOnlyDictionary<string, string> -> unit
<Extension()>
Public Sub AppendSessionTokens (databaseFacade As DatabaseFacade, sessionTokens As IReadOnlyDictionary(Of String, String))
Parameters
- databaseFacade
- DatabaseFacade
The DatabaseFacade for the context.
- sessionTokens
- IReadOnlyDictionary<String,String>
The session tokens to append per container.
Remarks
See https://aka.ms/efcore-docs-cosmos-session for more information.