语言

NotParameterizedAttribute 类

定义

指示在查询编译期间不应参数化自定义 LINQ 运算符参数。

[System.AttributeUsage(System.AttributeTargets.Parameter)]
public sealed class NotParameterizedAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type NotParameterizedAttribute = class
    inherit Attribute
Public NotInheritable Class NotParameterizedAttribute
Inherits Attribute
继承
NotParameterizedAttribute
特性

注解

有关详细信息和示例,请参阅 使用 EF Core 查询数据 。

构造函数

名称 说明
NotParameterizedAttribute()

指示在查询编译期间不应参数化自定义 LINQ 运算符参数。

适用于