Classe StructuralTypeConfiguration<TStructuralType>
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Consente di eseguire la configurazione di un tipo in un modello.
Gerarchia di ereditarietà
System.Object
System.Data.Entity.ModelConfiguration.Configuration.StructuralTypeConfiguration<TStructuralType>
System.Data.Entity.ModelConfiguration.ComplexTypeConfiguration<TComplexType>
System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TEntityType>
Spazio dei nomi: System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public MustInherit Class StructuralTypeConfiguration(Of TStructuralType As Class)
'Utilizzo
Dim instance As StructuralTypeConfiguration(Of TStructuralType)
public abstract class StructuralTypeConfiguration<TStructuralType>
where TStructuralType : class
generic<typename TStructuralType>
where TStructuralType : ref class
public ref class StructuralTypeConfiguration abstract
[<AbstractClassAttribute>]
type StructuralTypeConfiguration<'TStructuralType when 'TStructuralType : not struct> = class end
JScript does not support generic types and methods.
Parametri di tipo
- TStructuralType
Tipo da configurare.
Il tipo StructuralTypeConfiguration<TStructuralType> espone i seguenti membri.
Costruttori
rapporti | Descrizione | |
---|---|---|
![]() |
StructuralTypeConfiguration<TStructuralType> | Inizializza una nuova istanza della classe StructuralTypeConfiguration<TStructuralType>. |
In alto
Metodi
rapporti | Descrizione | |
---|---|---|
![]() |
Equals | Determina se l'oggetto specificato è uguale all'oggetto corrente. (Esegue l'override di Object.Equals(Object)). |
![]() |
Finalize | (Ereditato da Object) |
![]() |
GetHashCode | Funge da funzione hash per un tipo specifico. (Esegue l'override di Object.GetHashCode()). |
![]() |
GetType | Ottiene l'oggetto Type dell'istanza corrente. |
![]() |
MemberwiseClone | (Ereditato da Object) |
![]() |
Property(Expression<Func<TStructuralType, array<Byte[]>>) | Configura una proprietà byte definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, DateTime>>) | Configura una proprietà DateTime definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, DateTimeOffset>>) | Configura una proprietà DateTimeOffset definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, Decimal>>) | Configura una proprietà decimal definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, Nullable<DateTime>>>) | Configura una proprietà [T:System.DateTime?] definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, Nullable<DateTimeOffset>>>) | Configura una proprietà [T:System.DateTimeOffset?] definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, Nullable<Decimal>>>) | Configura una proprietà [T:System.decimal?] definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, Nullable<TimeSpan>>>) | Configura una proprietà [T:System.TimeSpan?] definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, String>>) | Configura una proprietà string definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, TimeSpan>>) | Configura una proprietà TimeSpan definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, DbGeography>>) | Configura una proprietà DbGeography definita in questo tipo. |
![]() |
Property(Expression<Func<TStructuralType, DbGeometry>>) | Configura una proprietà DbGeometry definita in questo tipo. |
![]() |
Property<T>(Expression<Func<TStructuralType, Nullable<T>>>) | Configura una proprietà [T:System.struct?] definita in questo tipo. |
![]() |
Property<T>(Expression<Func<TStructuralType, T>>) | Configura una proprietà struct definita in questo tipo. |
![]() |
ToString | Restituisce una stringa che rappresenta l'oggetto corrente. (Esegue l'override di Object.ToString()). |
In alto
Thread safety
Qualsiasi membro static (Shared in Visual Basic) pubblico di questo tipo è thread-safe. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche
Riferimento
Spazio dei nomi System.Data.Entity.ModelConfiguration.Configuration