OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.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<TProperty>(Expression<Func<TDependentEntity,TProperty>>) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>) |
Configures a new parameter that holds the original value if no parameter mapped to the given property exists. |
HasOriginalValueParameter(String)
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter (string propertyName);
override this.HasOriginalValueParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter (propertyName As String) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
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>)
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasOriginalValueParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter (propertyName As String, buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
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<TProperty>(Expression<Func<TDependentEntity,TProperty>>)
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter<TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression);
override this.HasOriginalValueParameter : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty))) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
Type Parameters
- TProperty
Parameters
- propertyExpression
- Expression<Func<TDependentEntity,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<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)
Configures a new parameter that holds the original value if no parameter mapped to the given property exists.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter<TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasOriginalValueParameter : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty)), buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)
Type Parameters
- TProperty
Parameters
- propertyExpression
- Expression<Func<TDependentEntity,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