StoredProcedureBuilder<TEntity>.HasOriginalValueParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HasOriginalValueParameter(String) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>, Action<StoredProcedureParameterBuilder>) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter<TProperty>(Expression<Func<TEntity,TProperty>>) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter<TProperty>(Expression<Func<TEntity,TProperty>>, Action<StoredProcedureParameterBuilder>) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter(String)
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
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)
Parameters
- propertyName
- String
The property name.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
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)
Parameters
- propertyName
- String
The parameter name.
- buildAction
- Action<StoredProcedureParameterBuilder>
An action that performs configuration of the parameter.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasOriginalValueParameter<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>)
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
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)
Type Parameters
- TDerivedEntity
- TProperty
Parameters
- propertyExpression
- Expression<Func<TDerivedEntity,TProperty>>
A lambda expression representing the property to be configured (blog => blog.Url
).
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasOriginalValueParameter<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
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)
Type Parameters
- TDerivedEntity
- TProperty
Parameters
- propertyExpression
- Expression<Func<TDerivedEntity,TProperty>>
A lambda expression representing the property to be configured (blog => blog.Url
).
- buildAction
- Action<StoredProcedureParameterBuilder>
An action that performs configuration of the parameter.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasOriginalValueParameter<TProperty>(Expression<Func<TEntity,TProperty>>)
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
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)
Type Parameters
- TProperty
Parameters
- propertyExpression
- Expression<Func<TEntity,TProperty>>
A lambda expression representing the property to be configured (blog => blog.Url
).
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasOriginalValueParameter<TProperty>(Expression<Func<TEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
- Source:
- StoredProcedureBuilder%60.cs
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
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)
Type Parameters
- TProperty
Parameters
- propertyExpression
- Expression<Func<TEntity,TProperty>>
A lambda expression representing the property to be configured (blog => blog.Url
).
- buildAction
- Action<StoredProcedureParameterBuilder>
An action that performs configuration of the parameter.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
Entity Framework