Udostępnij przez


StructuralTypeConfiguration<TStructuralType>.Property Metoda

Definicja

Przeciążenia

Property(Expression<Func<TStructuralType,TimeSpan>>)

Konfiguruje właściwość zdefiniowaną TimeSpan w tym typie.

Property(Expression<Func<TStructuralType,String>>)

Konfiguruje właściwość zdefiniowaną System.string w tym typie.

Property(Expression<Func<TStructuralType,Nullable<TimeSpan>>>)

Konfiguruje właściwość zdefiniowaną System.TimeSpan? w tym typie.

Property(Expression<Func<TStructuralType,Nullable<Decimal>>>)

Konfiguruje właściwość zdefiniowaną System.decimal? w tym typie.

Property(Expression<Func<TStructuralType,Nullable<DateTimeOffset>>>)

Konfiguruje właściwość zdefiniowaną System.DateTimeOffset? w tym typie.

Property(Expression<Func<TStructuralType,Nullable<DateTime>>>)

Konfiguruje właściwość zdefiniowaną System.DateTime? w tym typie.

Property(Expression<Func<TStructuralType,Decimal>>)

Konfiguruje właściwość zdefiniowaną System.decimal w tym typie.

Property(Expression<Func<TStructuralType,DateTime>>)

Konfiguruje właściwość zdefiniowaną DateTime w tym typie.

Property(Expression<Func<TStructuralType,DbGeometry>>)

Konfiguruje właściwość zdefiniowaną DbGeometry w tym typie.

Property(Expression<Func<TStructuralType,DbGeography>>)

Konfiguruje właściwość zdefiniowaną DbGeography w tym typie.

Property(Expression<Func<TStructuralType,DbGeometry>>)

Konfiguruje właściwość zdefiniowaną DbGeometry w tym typie.

Property(Expression<Func<TStructuralType,DbGeography>>)

Konfiguruje właściwość zdefiniowaną DbGeography w tym typie.

Property(Expression<Func<TStructuralType,Byte[]>>)

Konfiguruje właściwość zdefiniowaną System.byte[] w tym typie.

Property(Expression<Func<TStructuralType,DateTimeOffset>>)

Konfiguruje właściwość zdefiniowaną DateTimeOffset w tym typie.

Property<T>(Expression<Func<TStructuralType,T>>)

Konfiguruje właściwość zdefiniowaną System.struct w tym typie.

Property<T>(Expression<Func<TStructuralType,Nullable<T>>>)

Konfiguruje właściwość zdefiniowaną System.struct? w tym typie.

Property(Expression<Func<TStructuralType,TimeSpan>>)

Konfiguruje właściwość zdefiniowaną TimeSpan w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,TimeSpan>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,TimeSpan>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, TimeSpan>> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, TimeSpan))) As DateTimePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,TimeSpan>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,String>>)

Konfiguruje właściwość zdefiniowaną System.string w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,string>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,string>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, string>> -> System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, String))) As StringPropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,String>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,Nullable<TimeSpan>>>)

Konfiguruje właściwość zdefiniowaną System.TimeSpan? w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<TimeSpan>>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<TimeSpan>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, Nullable<TimeSpan>>> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, Nullable(Of TimeSpan)))) As DateTimePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,Nullable<TimeSpan>>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,Nullable<Decimal>>>)

Konfiguruje właściwość zdefiniowaną System.decimal? w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<decimal>>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<decimal>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, Nullable<decimal>>> -> System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, Nullable(Of Decimal)))) As DecimalPropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,Nullable<Decimal>>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,Nullable<DateTimeOffset>>>)

Konfiguruje właściwość zdefiniowaną System.DateTimeOffset? w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<DateTimeOffset>>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<DateTimeOffset>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, Nullable<DateTimeOffset>>> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, Nullable(Of DateTimeOffset)))) As DateTimePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,Nullable<DateTimeOffset>>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,Nullable<DateTime>>>)

Konfiguruje właściwość zdefiniowaną System.DateTime? w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<DateTime>>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<DateTime>>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, Nullable<DateTime>>> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, Nullable(Of DateTime)))) As DateTimePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,Nullable<DateTime>>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,Decimal>>)

Konfiguruje właściwość zdefiniowaną System.decimal w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,decimal>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,decimal>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, decimal>> -> System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, Decimal))) As DecimalPropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,Decimal>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,DateTime>>)

Konfiguruje właściwość zdefiniowaną DateTime w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,DateTime>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,DateTime>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, DateTime>> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, DateTime))) As DateTimePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,DateTime>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,DbGeometry>>)

Konfiguruje właściwość zdefiniowaną DbGeometry w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,System.Data.Spatial.DbGeometry>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, System.Data.Spatial.DbGeometry>> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, DbGeometry))) As PrimitivePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,DbGeometry>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty
VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,DbGeography>>)

Konfiguruje właściwość zdefiniowaną DbGeography w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,System.Data.Spatial.DbGeography>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, System.Data.Spatial.DbGeography>> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, DbGeography))) As PrimitivePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,DbGeography>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty
VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,DbGeometry>>)

Konfiguruje właściwość zdefiniowaną DbGeometry w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,System.Data.Entity.Spatial.DbGeometry>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, System.Data.Entity.Spatial.DbGeometry>> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, DbGeometry))) As PrimitivePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,DbGeometry>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,DbGeography>>)

Konfiguruje właściwość zdefiniowaną DbGeography w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,System.Data.Entity.Spatial.DbGeography>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, System.Data.Entity.Spatial.DbGeography>> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, DbGeography))) As PrimitivePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,DbGeography>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,Byte[]>>)

Konfiguruje właściwość zdefiniowaną System.byte[] w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,byte[]>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,byte[]>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, byte[]>> -> System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, Byte()))) As BinaryPropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,Byte[]>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property(Expression<Func<TStructuralType,DateTimeOffset>>)

Konfiguruje właściwość zdefiniowaną DateTimeOffset w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,DateTimeOffset>> propertyExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration Property(System.Linq.Expressions.Expression<Func<TStructuralType,DateTimeOffset>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, DateTimeOffset>> -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function Property (propertyExpression As Expression(Of Func(Of TStructuralType, DateTimeOffset))) As DateTimePropertyConfiguration

Parametry

propertyExpression
Expression<Func<TStructuralType,DateTimeOffset>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property<T>(Expression<Func<TStructuralType,T>>)

Konfiguruje właściwość zdefiniowaną System.struct w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property<T>(System.Linq.Expressions.Expression<Func<TStructuralType,T>> propertyExpression) where T : struct;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property<T>(System.Linq.Expressions.Expression<Func<TStructuralType,T>> propertyExpression) where T : struct;
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, 'T>> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration (requires 'T : struct)
Public Function Property(Of T As Structure) (propertyExpression As Expression(Of Func(Of TStructuralType, T))) As PrimitivePropertyConfiguration

Parametry typu

T

Typ konfigurowanej właściwości.

Parametry

propertyExpression
Expression<Func<TStructuralType,T>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy

Property<T>(Expression<Func<TStructuralType,Nullable<T>>>)

Konfiguruje właściwość zdefiniowaną System.struct? w tym typie.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property<T>(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<T>>> propertyExpression) where T : struct;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration Property<T>(System.Linq.Expressions.Expression<Func<TStructuralType,Nullable<T>>> propertyExpression) where T : struct;
member this.Property : System.Linq.Expressions.Expression<Func<'StructuralType, Nullable<'T>>> -> System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration (requires 'T : struct)
Public Function Property(Of T As Structure) (propertyExpression As Expression(Of Func(Of TStructuralType, Nullable(Of T)))) As PrimitivePropertyConfiguration

Parametry typu

T

Typ konfigurowanej właściwości.

Parametry

propertyExpression
Expression<Func<TStructuralType,Nullable<T>>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

Zwraca

Obiekt konfiguracji, który może służyć do konfigurowania właściwości.

Atrybuty

Dotyczy