ConventionModelExtensions.FindIsOwnedConfigurationSource Method
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.
Returns a value indicating whether the entity types using the given type should be configured as owned types when discovered.
C#
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? FindIsOwnedConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type clrType);
C#
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? FindIsOwnedConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member FindIsOwnedConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
static member FindIsOwnedConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function FindIsOwnedConfigurationSource (model As IConventionModel, clrType As Type) As Nullable(Of ConfigurationSource)
<Extension()>
Public Function FindIsOwnedConfigurationSource (model As IConventionModel, type As Type) As Nullable(Of ConfigurationSource)
- model
- IConventionModel
The model.
- clrTypetype
- Type
The type of the entity type that could be owned.
The configuration source if the given type name is marked as owned,
null
otherwise.
Toode | Versioonid |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0 |
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Toote „Entity Framework“ tagasiside
Entity Framework on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: