public class OdfColumnNameAttribute : Attributeclass AssignProject
{
[OdfColumnName("客戶統編")]
public string CustomerNo { get; set; }
[OdfColumnName("客戶名稱(中文)")]
public string Name { get; set; }
[OdfColumnName("登記地址")]
public string CompanyAddress { get; set; }
// 其它屬性
...
}| OdfColumnNameAttribute | OdfColumnNameAttribute 建構子 |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute) |
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute) |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| ToBsonString |
轉換Bson字串
(Defined by SerializeExtend) |
| ToBsonString |
轉換Bson字串
(Defined by SerializeExtend) |
| ToJsonString |
轉換Json字串
(Defined by SerializeExtend) |
| ToJsonString |
轉換Json字串
(Defined by SerializeExtend) |
| ToXmlString |
轉換Xml字串
(Defined by SerializeExtend) |
| WriteJsonFile |
寫入Json格式檔案
(Defined by SerializeExtend) |
| Date | Version | Description |
|---|---|---|
| 2021/04/22 | 1.0.0.0 | 初版 |
| 2025/09/19 | 25.0.0.0 | 彙整2025年度初版 |