EntityMappingConfiguration<TEntityType>.Property Method
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Property(Expression<Func<TEntityType, Byte[]>>) | Configures a T:System.byte[] property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, DateTime>>) | Configures a DateTime property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, DateTimeOffset>>) | Configures a DateTimeOffset property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, DbGeography>>) | Configures a T:DbGeography property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, DbGeometry>>) | Configures a T:DbGeometry property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, Decimal>>) | Configures a T:System.decimal property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, Nullable<DateTime>>>) | Configures a T:System.DateTime? property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, Nullable<DateTimeOffset>>>) | Configures a T:System.DateTimeOffset? property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, Nullable<Decimal>>>) | Configures a T:System.decimal? property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, Nullable<TimeSpan>>>) | Configures a T:System.TimeSpan? property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, String>>) | Configures a T:System.string property that is included in this mapping fragment. |
![]() | Property(Expression<Func<TEntityType, TimeSpan>>) | Configures a TimeSpan property that is included in this mapping fragment. |
![]() | Property<T>(Expression<Func<TEntityType, T>>) | Configures a T:System.struct property that is included in this mapping fragment. |
![]() | Property<T>(Expression<Func<TEntityType, Nullable<T>>>) | Configures a T:System.struct? property that is included in this mapping fragment. |
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, Byte[]>>)
Configures a T:System.byte[] property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, byte[]>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, Byte[]>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, DateTime>>)
Configures a DateTime property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, DateTime>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, DateTime>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, DateTimeOffset>>)
Configures a DateTimeOffset property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, DateTimeOffset>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, DateTimeOffset>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, DbGeography>>)
Configures a T:DbGeography property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, DbGeography>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, DbGeography>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, DbGeometry>>)
Configures a T:DbGeometry property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, DbGeometry>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, DbGeometry>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, Decimal>>)
Configures a T:System.decimal property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, decimal>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, Decimal>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, Nullable<DateTime>>>)
Configures a T:System.DateTime? property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, Nullable<DateTime>>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, Nullable<DateTime>>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, Nullable<DateTimeOffset>>>)
Configures a T:System.DateTimeOffset? property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, Nullable<DateTimeOffset>>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, Nullable<DateTimeOffset>>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, Nullable<Decimal>>>)
Configures a T:System.decimal? property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, Nullable<decimal>>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, Nullable<Decimal>>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, Nullable<TimeSpan>>>)
Configures a T:System.TimeSpan? property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, Nullable<TimeSpan>>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, Nullable<TimeSpan>>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, String>>)
Configures a T:System.string property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, string>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, String>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property Method (Expression<Func<TEntityType, TimeSpan>>)
Configures a TimeSpan property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public PropertyMappingConfiguration Property( Expression<Func<TEntityType, TimeSpan>> propertyExpression )
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, TimeSpan>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
EntityMappingConfiguration<TEntityType>.Property<T> Method (Expression<Func<TEntityType, T>>)
Configures a T:System.struct property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property<T>( Expression<Func<TEntityType, T>> propertyExpression ) where T : struct
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, T>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
Type Parameters
- T
The type of the property being configured.
EntityMappingConfiguration<TEntityType>.Property<T> Method (Expression<Func<TEntityType, Nullable<T>>>)
Configures a T:System.struct? property that is included in this mapping fragment.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public PropertyMappingConfiguration Property<T>( Expression<Func<TEntityType, Nullable<T>>> propertyExpression ) where T : struct
Parameters
- propertyExpression
-
Type:
System.Linq.Expressions.Expression<Func<TEntityType, Nullable<T>>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfigurationA configuration object that can be used to configure the property.
Type Parameters
- T
The type of the property being configured.