LoadColumnNameAttribute 类

定义

允许成员指定到数据库中字段 () 的映射。 若要替代列名, IDataView 请使用 ColumnNameAttribute

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class LoadColumnNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type LoadColumnNameAttribute = class
    inherit Attribute
Public NotInheritable Class LoadColumnNameAttribute
Inherits Attribute
继承
LoadColumnNameAttribute
属性

构造函数

LoadColumnNameAttribute(String)

将成员映射到数据库中的特定字段。

LoadColumnNameAttribute(String[])

将成员映射到数据库中的字段集。

适用于