摘要:
1 [AttributeUsage(AttributeTargets.Class)]///特性应用范围 2 public class IsDbTable:System.Attribute///继承特性基性 3 { 4 public string tablename{get;set;} 5 public IsDbTable(string tableName) 6 { 7 this.tablename = tableName; 8 } 9 private IsDbTable() { }10 }11 [AttributeUsage(AttributeTargets.Property)]12 pub. 阅读全文
posted @ 2011-03-26 16:32
飘扬
阅读(419)
评论(3)
推荐(0)
浙公网安备 33010602011771号