共用方式為


OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasResultColumn 方法

定義

多載

HasResultColumn(String)

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

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

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

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

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

HasResultColumn(String)

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

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>)

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

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>>)

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

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>)

設定這個預存程式結果的新資料行。 這用於資料庫產生的資料行。

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>

執行資料行組態的動作。

傳回

相同的產生器實例,以便鏈結多個組態呼叫。

適用於