OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasOriginalValueParameter 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
HasOriginalValueParameter(String) |
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。 |
HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>) |
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。 |
HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>) |
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。 |
HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>) |
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。 |
HasOriginalValueParameter(String)
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter (string propertyName);
override this.HasOriginalValueParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter (propertyName As String) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
參數
- propertyName
- String
屬性名稱。
傳回
相同的產生器實例,以便鏈結多個組態呼叫。
適用於
HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasOriginalValueParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter (propertyName As String, buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
參數
- propertyName
- String
參數名稱。
- buildAction
- Action<StoredProcedureParameterBuilder>
執行參數組態的動作。
傳回
相同的產生器實例,以便鏈結多個組態呼叫。
適用於
HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>)
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter<TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression);
override this.HasOriginalValueParameter : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty))) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
類型參數
- TProperty
參數
- propertyExpression
- Expression<Func<TDependentEntity,TProperty>>
Lambda 運算式,表示要設定 () blog => blog.Url
的屬性。
傳回
相同的產生器實例,以便鏈結多個組態呼叫。
適用於
HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)
如果沒有對應至指定屬性的參數存在,請設定保留原始值的新參數。
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter<TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasOriginalValueParameter : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty)), buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
類型參數
- TProperty
參數
- propertyExpression
- Expression<Func<TDependentEntity,TProperty>>
Lambda 運算式,表示要設定 () blog => blog.Url
的屬性。
- buildAction
- Action<StoredProcedureParameterBuilder>
執行參數組態的動作。
傳回
相同的產生器實例,以便鏈結多個組態呼叫。