ManyToManyModificationStoredProcedureConfiguration<TEntityType,TTargetEntityType>.RightKeyParameter 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RightKeyParameter(Expression<Func<TTargetEntityType,Byte[]>>, String)
設定正確的鍵值參數。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<TEntityType,TTargetEntityType> RightKeyParameter(System.Linq.Expressions.Expression<Func<TTargetEntityType,byte[]>> propertyExpression, string parameterName);
member this.RightKeyParameter : System.Linq.Expressions.Expression<Func<'argetEntityType, byte[]>> * string -> System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<'EntityType, 'argetEntityType (requires 'EntityType : null and 'argetEntityType : null)>
Public Function RightKeyParameter (propertyExpression As Expression(Of Func(Of TTargetEntityType, Byte())), parameterName As String) As ManyToManyModificationStoredProcedureConfiguration(Of TEntityType, TTargetEntityType)
參數
- propertyExpression
- Expression<Func<TTargetEntityType,Byte[]>>
一個代表要配置屬性的 lambda 表達式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
- parameterName
- String
參數的名稱。
傳回
使用相同的設定實例,以便可以串接多個呼叫。
- 屬性
適用於
RightKeyParameter(Expression<Func<TTargetEntityType,String>>, String)
設定正確的鍵值參數。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<TEntityType,TTargetEntityType> RightKeyParameter(System.Linq.Expressions.Expression<Func<TTargetEntityType,string>> propertyExpression, string parameterName);
member this.RightKeyParameter : System.Linq.Expressions.Expression<Func<'argetEntityType, string>> * string -> System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<'EntityType, 'argetEntityType (requires 'EntityType : null and 'argetEntityType : null)>
Public Function RightKeyParameter (propertyExpression As Expression(Of Func(Of TTargetEntityType, String)), parameterName As String) As ManyToManyModificationStoredProcedureConfiguration(Of TEntityType, TTargetEntityType)
參數
- propertyExpression
- Expression<Func<TTargetEntityType,String>>
一個代表要配置屬性的 lambda 表達式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
- parameterName
- String
參數的名稱。
傳回
使用相同的設定實例,以便可以串接多個呼叫。
- 屬性
適用於
RightKeyParameter<TProperty>(Expression<Func<TTargetEntityType,Nullable<TProperty>>>, String)
設定正確的鍵值參數。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<TEntityType,TTargetEntityType> RightKeyParameter<TProperty>(System.Linq.Expressions.Expression<Func<TTargetEntityType,Nullable<TProperty>>> propertyExpression, string parameterName) where TProperty : struct;
member this.RightKeyParameter : System.Linq.Expressions.Expression<Func<'argetEntityType, Nullable<'Property>>> * string -> System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<'EntityType, 'argetEntityType (requires 'EntityType : null and 'argetEntityType : null)> (requires 'Property : struct)
Public Function RightKeyParameter(Of TProperty As Structure) (propertyExpression As Expression(Of Func(Of TTargetEntityType, Nullable(Of TProperty))), parameterName As String) As ManyToManyModificationStoredProcedureConfiguration(Of TEntityType, TTargetEntityType)
類型參數
- TProperty
要設定的屬性類型。
參數
- propertyExpression
- Expression<Func<TTargetEntityType,Nullable<TProperty>>>
一個代表要配置屬性的 lambda 表達式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
- parameterName
- String
參數的名稱。
傳回
使用相同的設定實例,以便可以串接多個呼叫。
- 屬性
適用於
RightKeyParameter<TProperty>(Expression<Func<TTargetEntityType,TProperty>>, String)
設定正確的鍵值參數。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<TEntityType,TTargetEntityType> RightKeyParameter<TProperty>(System.Linq.Expressions.Expression<Func<TTargetEntityType,TProperty>> propertyExpression, string parameterName) where TProperty : struct;
member this.RightKeyParameter : System.Linq.Expressions.Expression<Func<'argetEntityType, 'Property>> * string -> System.Data.Entity.ModelConfiguration.Configuration.ManyToManyModificationStoredProcedureConfiguration<'EntityType, 'argetEntityType (requires 'EntityType : null and 'argetEntityType : null)> (requires 'Property : struct)
Public Function RightKeyParameter(Of TProperty As Structure) (propertyExpression As Expression(Of Func(Of TTargetEntityType, TProperty)), parameterName As String) As ManyToManyModificationStoredProcedureConfiguration(Of TEntityType, TTargetEntityType)
類型參數
- TProperty
要設定的屬性類型。
參數
- propertyExpression
- Expression<Func<TTargetEntityType,TProperty>>
一個代表要配置屬性的 lambda 表達式。 C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
- parameterName
- String
參數的名稱。
傳回
使用相同的設定實例,以便可以串接多個呼叫。
- 屬性