LoadColumnNameAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
允許會員指定對應到資料庫中的欄位。 若要覆寫欄位名稱 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[]) |
將成員映射到資料庫中的一組欄位。 |