Share via


DbEntityEntry.Property (Método)

[Esta página es específica de la versión 6 de Entity Framework. La versión más reciente está disponible como el paquete NuGet de Entity Framework. Para más información sobre Entity Framework, consulte msdn.com/es-ES/data/ef].

Obtiene un objeto que representa una propiedad escalar o compleja de esta entidad.

Espacio de nombres:  System.Data.Entity.Infrastructure
Ensamblado:  EntityFramework (en EntityFramework.dll)

Sintaxis

'Declaración
Public Function Property ( _
    propertyName As String _
) As DbPropertyEntry
'Uso
Dim instance As DbEntityEntry 
Dim propertyName As String 
Dim returnValue As DbPropertyEntry 

returnValue = instance.Property(propertyName)
public DbPropertyEntry Property(
    string propertyName
)
public:
DbPropertyEntry^ Property(
    String^ propertyName
)
member Property : 
        propertyName:string -> DbPropertyEntry
public function Property(
    propertyName : String
) : DbPropertyEntry

Parámetros

Valor devuelto

Tipo: System.Data.Entity.Infrastructure.DbPropertyEntry
Un objeto que representa la propiedad.

Vea también

Referencia

DbEntityEntry Clase

System.Data.Entity.Infrastructure (Espacio de nombres)