語言

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
屬性

建構函式

名稱 Description
LoadColumnNameAttribute(String)

將成員映射到資料庫中特定欄位。

LoadColumnNameAttribute(String[])

將成員映射到資料庫中的一組欄位。

適用於