Metodo DbModelBuilder.Properties
[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.]
Avvia la configurazione di una convenzione leggera che si applica a tutte le proprietà nel modello.
Spazio dei nomi: System.Data.Entity
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Function Properties As PropertyConventionConfiguration
'Utilizzo
Dim instance As DbModelBuilder
Dim returnValue As PropertyConventionConfiguration
returnValue = instance.Properties()
public PropertyConventionConfiguration Properties()
public:
PropertyConventionConfiguration^ Properties()
member Properties : unit -> PropertyConventionConfiguration
public function Properties() : PropertyConventionConfiguration
Valore restituito
Tipo: System.Data.Entity.ModelConfiguration.Configuration.PropertyConventionConfiguration
Oggetto configurazione per la convenzione.