RelationalModelExtensions.RemoveDbFunction 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RemoveDbFunction(IConventionModel, MethodInfo) |
删除映射到给定 MethodInfo表示的方法的函数。 |
RemoveDbFunction(IConventionModel, String) |
删除映射到给定 MethodInfo表示的方法的函数。 |
RemoveDbFunction(IMutableModel, MethodInfo) |
删除映射到给定 MethodInfo表示的方法的函数。 |
RemoveDbFunction(IMutableModel, String) |
删除映射到给定 MethodInfo表示的方法的函数。 |
RemoveDbFunction(IConventionModel, MethodInfo)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
删除映射到给定 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)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
删除映射到给定 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)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
删除映射到给定 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)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
删除映射到给定 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
。