共用方式為


OwnedNavigationStoredProcedureBuilder.HasParameter 方法

定義

多載

HasParameter(String)

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

HasParameter(String, Action<StoredProcedureParameterBuilder>)

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

HasParameter(String)

來源:
OwnedNavigationStoredProcedureBuilder.cs
來源:
OwnedNavigationStoredProcedureBuilder.cs
來源:
OwnedNavigationStoredProcedureBuilder.cs

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

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder HasParameter (string propertyName);
abstract member HasParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
override this.HasParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
Public Overridable Function HasParameter (propertyName As String) As OwnedNavigationStoredProcedureBuilder

參數

propertyName
String

屬性名稱。

傳回

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

適用於

HasParameter(String, Action<StoredProcedureParameterBuilder>)

來源:
OwnedNavigationStoredProcedureBuilder.cs
來源:
OwnedNavigationStoredProcedureBuilder.cs
來源:
OwnedNavigationStoredProcedureBuilder.cs

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

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder HasParameter (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
abstract member HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
override this.HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
Public Overridable Function HasParameter (propertyName As String, buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder

參數

propertyName
String

參數名稱。

buildAction
Action<StoredProcedureParameterBuilder>

執行參數組態的動作。

傳回

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

適用於