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[])

將成員對應至資料庫中的欄位集。

適用於