語言

OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasResultColumn 方法

定義

多載

名稱 Description
HasResultColumn(String)

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

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

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

HasResultColumn<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureResultColumnBuilder>)

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

HasResultColumn(String)

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

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

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

參數

propertyName
String

屬性名稱。

傳回

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

適用於

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

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

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

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

參數

propertyName
String

屬性名稱。

buildAction
Action<StoredProcedureResultColumnBuilder>

一個執行欄位配置的動作。

傳回

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

適用於

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

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

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

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

傳回

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

適用於

HasResultColumn<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureResultColumnBuilder>)

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

為此儲存程序配置新的結果欄位。 此欄位用於資料庫產生的欄位。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasResultColumn<TProperty>(System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> buildAction);
override this.HasResultColumn : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasResultColumn(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty)), buildAction As Action(Of StoredProcedureResultColumnBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

類型參數

TProperty

參數

propertyExpression
Expression<Func<TDependentEntity,TProperty>>

一個表示待設定屬性的 lambda 表達式(blog => blog.Url)。

buildAction
Action<StoredProcedureResultColumnBuilder>

一個執行欄位配置的動作。

傳回

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

適用於