StoredProcedureBuilder<TEntity>.HasResultColumn 方法

定义

重载

HasResultColumn(String)

为此存储过程配置结果的新列。 这用于数据库生成的列。

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

为此存储过程配置结果的新列。 这用于数据库生成的列。

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

为此存储过程配置结果的新列。 这用于数据库生成的列。

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

为此存储过程配置结果的新列。 这用于数据库生成的列。

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

为此存储过程配置结果的新列。 这用于数据库生成的列。

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

为此存储过程配置结果的新列。 这用于数据库生成的列。

HasResultColumn(String)

Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs

为此存储过程配置结果的新列。 这用于数据库生成的列。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasResultColumn (string propertyName);
override this.HasResultColumn : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasResultColumn (propertyName As String) As StoredProcedureBuilder(Of TEntity)

参数

propertyName
String

属性名称。

返回

同一个生成器实例,以便可以链接多个配置调用。

适用于

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs

为此存储过程配置结果的新列。 这用于数据库生成的列。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasResultColumn (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> buildAction);
override this.HasResultColumn : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasResultColumn (propertyName As String, buildAction As Action(Of StoredProcedureResultColumnBuilder)) As StoredProcedureBuilder(Of TEntity)

参数

propertyName
String

属性名称。

buildAction
Action<StoredProcedureResultColumnBuilder>

执行列配置的操作。

返回

同一个生成器实例,以便可以链接多个配置调用。

适用于

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

Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs

为此存储过程配置结果的新列。 这用于数据库生成的列。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasResultColumn<TDerivedEntity,TProperty> (System.Linq.Expressions.Expression<Func<TDerivedEntity,TProperty>> propertyExpression) where TDerivedEntity : class, TEntity;
override this.HasResultColumn : System.Linq.Expressions.Expression<Func<#'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasResultColumn(Of TDerivedEntity As {Class, TEntity}, TProperty As {Class, TEntity}) (propertyExpression As Expression(Of Func(Of TDerivedEntity, TProperty))) As StoredProcedureBuilder(Of TEntity)

类型参数

TDerivedEntity
TProperty

参数

propertyExpression
Expression<Func<TDerivedEntity,TProperty>>

一个 lambda 表达式,表示要 () blog => blog.Url 配置的属性。

返回

同一个生成器实例,以便可以链接多个配置调用。

适用于

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

Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs

为此存储过程配置结果的新列。 这用于数据库生成的列。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasResultColumn<TDerivedEntity,TProperty> (System.Linq.Expressions.Expression<Func<TDerivedEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> buildAction) where TDerivedEntity : class, TEntity;
override this.HasResultColumn : System.Linq.Expressions.Expression<Func<#'Entity, 'Property>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasResultColumn(Of TDerivedEntity As {Class, TEntity}, TProperty As {Class, TEntity}) (propertyExpression As Expression(Of Func(Of TDerivedEntity, TProperty)), buildAction As Action(Of StoredProcedureResultColumnBuilder)) As StoredProcedureBuilder(Of TEntity)

类型参数

TDerivedEntity
TProperty

参数

propertyExpression
Expression<Func<TDerivedEntity,TProperty>>

一个 lambda 表达式,表示要 () blog => blog.Url 配置的属性。

buildAction
Action<StoredProcedureResultColumnBuilder>

执行列配置的操作。

返回

同一个生成器实例,以便可以链接多个配置调用。

适用于

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

Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs

为此存储过程配置结果的新列。 这用于数据库生成的列。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasResultColumn<TProperty> (System.Linq.Expressions.Expression<Func<TEntity,TProperty>> propertyExpression);
override this.HasResultColumn : System.Linq.Expressions.Expression<Func<'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasResultColumn(Of TProperty) (propertyExpression As Expression(Of Func(Of TEntity, TProperty))) As StoredProcedureBuilder(Of TEntity)

类型参数

TProperty

参数

propertyExpression
Expression<Func<TEntity,TProperty>>

一个 lambda 表达式,表示要 () blog => blog.Url 配置的属性。

返回

同一个生成器实例,以便可以链接多个配置调用。

适用于

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

Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs
Source:
StoredProcedureBuilder%60.cs

为此存储过程配置结果的新列。 这用于数据库生成的列。

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

类型参数

TProperty

参数

propertyExpression
Expression<Func<TEntity,TProperty>>

一个 lambda 表达式,表示要 () blog => blog.Url 配置的属性。

buildAction
Action<StoredProcedureResultColumnBuilder>

执行列配置的操作。

返回

同一个生成器实例,以便可以链接多个配置调用。

适用于