OwnedAttributeConvention Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Konwencja, która konfiguruje typy jednostek, które mają OwnedAttribute jako własność.
public class OwnedAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<Microsoft.EntityFrameworkCore.OwnedAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
type OwnedAttributeConvention = class
inherit TypeAttributeConventionBase<OwnedAttribute>
interface IComplexPropertyAddedConvention
interface IConvention
Public Class OwnedAttributeConvention
Inherits TypeAttributeConventionBase(Of OwnedAttribute)
Implements IComplexPropertyAddedConvention
- Dziedziczenie
- Implementuje
Uwagi
Aby uzyskać więcej informacji i przykłady, zobacz Konwencje tworzenia modeli .
Konstruktory
OwnedAttributeConvention(ProviderConventionSetBuilderDependencies) |
Tworzy nowe wystąpienie klasy OwnedAttributeConvention. |
Właściwości
Dependencies |
Zależności dla tej usługi. (Odziedziczone po TypeAttributeConventionBase<TAttribute>) |
Metody
Dotyczy
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.