語言

OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasParameter 方法

定義

多載

名稱 Description
HasParameter(String)

若不存在映射到該屬性的參數,則配置一個新參數。

HasParameter(String, Action<StoredProcedureParameterBuilder>)

若不存在映射到該屬性的參數,則配置一個新參數。

HasParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

若不存在映射到該屬性的參數,則配置一個新參數。

HasParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

若不存在映射到該屬性的參數,則配置一個新參數。

HasParameter(String)

來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs

若不存在映射到該屬性的參數,則配置一個新參數。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasParameter(string propertyName);
override this.HasParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasParameter (propertyName As String) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

參數

propertyName
String

屬性名稱。

傳回

同一個建構器實例,這樣可以串接多個設定呼叫。

適用於

HasParameter(String, Action<StoredProcedureParameterBuilder>)

來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs

若不存在映射到該屬性的參數,則配置一個新參數。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasParameter(string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasParameter (propertyName As String, buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

參數

propertyName
String

參數名稱。

buildAction
Action<StoredProcedureParameterBuilder>

一個執行參數配置的動作。

傳回

同一個建構器實例,這樣可以串接多個設定呼叫。

適用於

HasParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs

若不存在映射到該屬性的參數,則配置一個新參數。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasParameter<TProperty>(System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasParameter : 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 HasParameter(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>

一個執行參數配置的動作。

傳回

同一個建構器實例,這樣可以串接多個設定呼叫。

適用於

HasParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs
來源:
OwnedNavigationStoredProcedureBuilder``.cs

若不存在映射到該屬性的參數,則配置一個新參數。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasParameter<TProperty>(System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression);
override this.HasParameter : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasParameter(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)。

傳回

同一個建構器實例,這樣可以串接多個設定呼叫。

適用於