EntityMappingConfiguration<TEntityType>.Property メソッド

定義

オーバーロード

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

このマッピング フラグメントに TimeSpan 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.string 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.TimeSpan? 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.decimal? 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.DateTimeOffset? 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.DateTime? 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.decimal 含まれるプロパティを構成します。

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

このマッピング フラグメントに DateTimeOffset 含まれるプロパティを構成します。

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

このマッピング フラグメントに DateTime 含まれるプロパティを構成します。

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

このマッピング フラグメントに DbGeometry 含まれるプロパティを構成します。

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

このマッピング フラグメントに DbGeography 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.byte[] 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.struct? 含まれるプロパティを構成します。

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

このマッピング フラグメントに System.struct 含まれるプロパティを構成します。

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

このマッピング フラグメントに TimeSpan 含まれるプロパティを構成します。

[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

パラメーター

propertyExpression
Expression<Func<TEntityType,TimeSpan>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.string 含まれるプロパティを構成します。

[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

パラメーター

propertyExpression
Expression<Func<TEntityType,String>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.TimeSpan? 含まれるプロパティを構成します。

[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

パラメーター

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

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.decimal? 含まれるプロパティを構成します。

[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

パラメーター

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

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.DateTimeOffset? 含まれるプロパティを構成します。

[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

パラメーター

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

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.DateTime? 含まれるプロパティを構成します。

[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

パラメーター

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

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.decimal 含まれるプロパティを構成します。

[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

パラメーター

propertyExpression
Expression<Func<TEntityType,Decimal>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに DateTimeOffset 含まれるプロパティを構成します。

[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

パラメーター

propertyExpression
Expression<Func<TEntityType,DateTimeOffset>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに DateTime 含まれるプロパティを構成します。

[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

パラメーター

propertyExpression
Expression<Func<TEntityType,DateTime>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに DbGeometry 含まれるプロパティを構成します。

[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

パラメーター

propertyExpression
Expression<Func<TEntityType,DbGeometry>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに DbGeography 含まれるプロパティを構成します。

[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

パラメーター

propertyExpression
Expression<Func<TEntityType,DbGeography>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.byte[] 含まれるプロパティを構成します。

[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

パラメーター

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

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.struct? 含まれるプロパティを構成します。

[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

型パラメーター

T

構成されるプロパティの型。

パラメーター

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

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象

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

このマッピング フラグメントに System.struct 含まれるプロパティを構成します。

[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

型パラメーター

T

構成されるプロパティの型。

パラメーター

propertyExpression
Expression<Func<TEntityType,T>>

構成するプロパティを表すラムダ式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty

戻り値

プロパティを構成するために使用できる構成オブジェクト。

属性

適用対象