EntityMappingConfiguration<TEntityType>.Property Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| Property(Expression<Func<TEntityType,TimeSpan>>) |
Konfiguriert eine TimeSpan Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,String>>) |
Konfiguriert eine System.string Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,Nullable<TimeSpan>>>) |
Konfiguriert eine System.TimeSpan? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,Nullable<Decimal>>>) |
Konfiguriert eine System.decimal? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,Nullable<DateTimeOffset>>>) |
Konfiguriert eine System.DateTimeOffset? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,Nullable<DateTime>>>) |
Konfiguriert eine System.DateTime? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,Decimal>>) |
Konfiguriert eine System.decimal Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,DateTimeOffset>>) |
Konfiguriert eine DateTimeOffset Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,DateTime>>) |
Konfiguriert eine DateTime Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,DbGeometry>>) |
Konfiguriert eine DbGeometry Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,DbGeography>>) |
Konfiguriert eine DbGeography Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property(Expression<Func<TEntityType,Byte[]>>) |
Konfiguriert eine System.byte[] Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property<T>(Expression<Func<TEntityType,Nullable<T>>>) |
Konfiguriert eine System.struct? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
| Property<T>(Expression<Func<TEntityType,T>>) |
Konfiguriert eine System.struct Eigenschaft, die in diesem Zuordnungsfragment enthalten ist. |
Property(Expression<Func<TEntityType,TimeSpan>>)
Konfiguriert eine TimeSpan Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,TimeSpan>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, TimeSpan>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, TimeSpan))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,TimeSpan>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,String>>)
Konfiguriert eine System.string Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,string>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, string>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, String))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,String>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,Nullable<TimeSpan>>>)
Konfiguriert eine System.TimeSpan? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,Nullable<TimeSpan>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, Nullable<TimeSpan>>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, Nullable(Of TimeSpan)))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,Nullable<TimeSpan>>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,Nullable<Decimal>>>)
Konfiguriert eine System.decimal? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,Nullable<decimal>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, Nullable<decimal>>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, Nullable(Of Decimal)))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,Nullable<Decimal>>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,Nullable<DateTimeOffset>>>)
Konfiguriert eine System.DateTimeOffset? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,Nullable<DateTimeOffset>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, Nullable<DateTimeOffset>>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, Nullable(Of DateTimeOffset)))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,Nullable<DateTimeOffset>>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,Nullable<DateTime>>>)
Konfiguriert eine System.DateTime? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,Nullable<DateTime>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, Nullable<DateTime>>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, Nullable(Of DateTime)))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,Nullable<DateTime>>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,Decimal>>)
Konfiguriert eine System.decimal Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,decimal>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, decimal>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, Decimal))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,Decimal>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,DateTimeOffset>>)
Konfiguriert eine DateTimeOffset Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,DateTimeOffset>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, DateTimeOffset>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, DateTimeOffset))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,DateTimeOffset>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,DateTime>>)
Konfiguriert eine DateTime Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,DateTime>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, DateTime>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, DateTime))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,DateTime>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,DbGeometry>>)
Konfiguriert eine DbGeometry Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,System.Data.Entity.Spatial.DbGeometry>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, System.Data.Entity.Spatial.DbGeometry>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, DbGeometry))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,DbGeometry>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,DbGeography>>)
Konfiguriert eine DbGeography Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,System.Data.Entity.Spatial.DbGeography>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, System.Data.Entity.Spatial.DbGeography>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, DbGeography))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,DbGeography>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property(Expression<Func<TEntityType,Byte[]>>)
Konfiguriert eine System.byte[] Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property(System.Linq.Expressions.Expression<Func<TEntityType,byte[]>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, byte[]>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TEntityType, Byte()))) As PropertyMappingConfiguration
Parameter
- propertyExpression
- Expression<Func<TEntityType,Byte[]>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property<T>(Expression<Func<TEntityType,Nullable<T>>>)
Konfiguriert eine System.struct? Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property<T>(System.Linq.Expressions.Expression<Func<TEntityType,Nullable<T>>> propertyExpression) where T : struct;
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, Nullable<'T>>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration (requires 'T : struct)
Public Function Property(Of T As Structure) (propertyExpression As Expression(Of Func(Of TEntityType, Nullable(Of T)))) As PropertyMappingConfiguration
Typparameter
- T
Der Typ der konfigurierten Eigenschaft.
Parameter
- propertyExpression
- Expression<Func<TEntityType,Nullable<T>>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute
Gilt für:
Property<T>(Expression<Func<TEntityType,T>>)
Konfiguriert eine System.struct Eigenschaft, die in diesem Zuordnungsfragment enthalten ist.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration Property<T>(System.Linq.Expressions.Expression<Func<TEntityType,T>> propertyExpression) where T : struct;
member this.Property : System.Linq.Expressions.Expression<Func<'EntityType, 'T>> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration (requires 'T : struct)
Public Function Property(Of T As Structure) (propertyExpression As Expression(Of Func(Of TEntityType, T))) As PropertyMappingConfiguration
Typparameter
- T
Der Typ der konfigurierten Eigenschaft.
Parameter
- propertyExpression
- Expression<Func<TEntityType,T>>
Ein Lambda-Ausdruck, der die zu konfigurierende Eigenschaft darstellt. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Gibt zurück
Ein Konfigurationsobjekt, das zum Konfigurieren der Eigenschaft verwendet werden kann.
- Attribute