共用方式為


StoredProcedureBuilder<TEntity>.HasParameter 方法

定義

多載

HasParameter(String)

如果沒有對應至指定屬性的參數存在,請設定新的參數。

HasParameter(String, Action<StoredProcedureParameterBuilder>)

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

如果沒有對應至指定屬性的參數存在,請設定新的參數。

HasParameter(String)

來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

參數

propertyName
String

屬性名稱。

傳回

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

適用於

HasParameter(String, Action<StoredProcedureParameterBuilder>)

來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

參數

propertyName
String

參數名稱。

buildAction
Action<StoredProcedureParameterBuilder>

執行參數組態的動作。

傳回

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

適用於

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

來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs

如果沒有對應至指定屬性的參數存在,請設定新的參數。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasParameter<TDerivedEntity,TProperty> (System.Linq.Expressions.Expression<Func<TDerivedEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction) where TDerivedEntity : class, TEntity;
override this.HasParameter : 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 HasParameter(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>

執行參數組態的動作。

傳回

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

適用於

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

來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

傳回

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

適用於

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

來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs

如果沒有對應至指定屬性的參數存在,請設定新的參數。

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

類型參數

TProperty

參數

propertyExpression
Expression<Func<TEntity,TProperty>>

Lambda 運算式,表示要設定 () blog => blog.Url 的屬性。

傳回

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

適用於

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

來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs
來源:
StoredProcedureBuilder%60.cs

如果沒有對應至指定屬性的參數存在,請設定新的參數。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasParameter<TProperty> (System.Linq.Expressions.Expression<Func<TEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasParameter : 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 HasParameter(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>

執行參數組態的動作。

傳回

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

適用於