StoredProcedureBuilder<TEntity>.HasOriginalValueParameter 方法

定义

重载

HasOriginalValueParameter(String)

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

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

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

HasOriginalValueParameter<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

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

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

HasOriginalValueParameter<TProperty>(Expression<Func<TEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

HasOriginalValueParameter(String)

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

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

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

参数

propertyName
String

属性名称。

返回

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

适用于

HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)

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

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

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

参数

propertyName
String

参数名称。

buildAction
Action<StoredProcedureParameterBuilder>

执行参数配置的操作。

返回

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

适用于

HasOriginalValueParameter<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> HasOriginalValueParameter<TDerivedEntity,TProperty> (System.Linq.Expressions.Expression<Func<TDerivedEntity,TProperty>> propertyExpression) where TDerivedEntity : class, TEntity;
override this.HasOriginalValueParameter : System.Linq.Expressions.Expression<Func<#'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasOriginalValueParameter(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 配置的属性。

返回

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

适用于

HasOriginalValueParameter<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

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

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

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

类型参数

TDerivedEntity
TProperty

参数

propertyExpression
Expression<Func<TDerivedEntity,TProperty>>

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

buildAction
Action<StoredProcedureParameterBuilder>

执行参数配置的操作。

返回

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

适用于

HasOriginalValueParameter<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> HasOriginalValueParameter<TProperty> (System.Linq.Expressions.Expression<Func<TEntity,TProperty>> propertyExpression);
override this.HasOriginalValueParameter : System.Linq.Expressions.Expression<Func<'Entity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasOriginalValueParameter(Of TProperty) (propertyExpression As Expression(Of Func(Of TEntity, TProperty))) As StoredProcedureBuilder(Of TEntity)

类型参数

TProperty

参数

propertyExpression
Expression<Func<TEntity,TProperty>>

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

返回

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

适用于

HasOriginalValueParameter<TProperty>(Expression<Func<TEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

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

如果不存在映射到给定属性的参数,则配置一个保留原始值的新参数。

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

类型参数

TProperty

参数

propertyExpression
Expression<Func<TEntity,TProperty>>

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

buildAction
Action<StoredProcedureParameterBuilder>

执行参数配置的操作。

返回

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

适用于