CosmosModelExtensions.GetDefaultContainer 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.
Overloads
GetDefaultContainer(IModel) |
Returns the default container name. |
GetDefaultContainer(IReadOnlyModel) |
Returns the default container name. |
GetDefaultContainer(IModel)
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
Returns the default container name.
public static string GetDefaultContainer (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetDefaultContainer : Microsoft.EntityFrameworkCore.Metadata.IModel -> string
<Extension()>
Public Function GetDefaultContainer (model As IModel) As String
Parameters
- model
- IModel
The model.
Returns
The default container name.
Applies to
GetDefaultContainer(IReadOnlyModel)
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
Returns the default container name.
public static string? GetDefaultContainer (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetDefaultContainer : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> string
<Extension()>
Public Function GetDefaultContainer (model As IReadOnlyModel) As String
Parameters
- model
- IReadOnlyModel
The model.
Returns
The default container name.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework