RelationalModelExtensions.RemoveDbFunction 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RemoveDbFunction(IConventionModel, MethodInfo) |
移除對應至指定 MethodInfo 所表示之 方法的函式。 |
RemoveDbFunction(IConventionModel, String) |
移除對應至指定 MethodInfo 所表示之 方法的函式。 |
RemoveDbFunction(IMutableModel, MethodInfo) |
移除對應至指定 MethodInfo 所表示之 方法的函式。 |
RemoveDbFunction(IMutableModel, String) |
移除對應至指定 MethodInfo 所表示之 方法的函式。 |
RemoveDbFunction(IConventionModel, MethodInfo)
移除對應至指定 MethodInfo 所表示之 方法的函式。
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, System.Reflection.MethodInfo method);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, System.Reflection.MethodInfo method);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IConventionModel, method As MethodInfo) As IConventionDbFunction
參數
- model
- IConventionModel
要尋找函式的模型。
- method
- MethodInfo
對應 MethodInfo 至函式之方法的 。
傳回
已移除的函式, null
如果方法未對應,則為 。
適用於
RemoveDbFunction(IConventionModel, String)
移除對應至指定 MethodInfo 所表示之 方法的函式。
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IConventionModel, name As String) As IConventionDbFunction
參數
- model
- IConventionModel
要尋找函式的模型。
- name
- String
函式的模型名稱。
傳回
已移除的函式, null
如果方法未對應,則為 。
適用於
RemoveDbFunction(IMutableModel, MethodInfo)
移除對應至指定 MethodInfo 所表示之 方法的函式。
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, System.Reflection.MethodInfo method);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, System.Reflection.MethodInfo method);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IMutableModel, method As MethodInfo) As IMutableDbFunction
參數
- model
- IMutableModel
要尋找函式的模型。
- method
- MethodInfo
對應 MethodInfo 至函式之方法的 。
傳回
已移除的函式, null
如果方法未對應,則為 。
適用於
RemoveDbFunction(IMutableModel, String)
移除對應至指定 MethodInfo 所表示之 方法的函式。
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IMutableModel, name As String) As IMutableDbFunction
參數
- model
- IMutableModel
要尋找函式的模型。
- name
- String
函式的模型名稱。
傳回
已移除的函式, null
如果方法未對應,則為 。