How do I get the ColumnAttributes from a Linq.Table<TEntity>?
问题 I'm trying to return attributes of columns from my DataContext. How can I pull out the ColumnAttribute meta data? public class MyDataContext : DataContext { public Table<User> User; public MyDataContext(string connection) : base(connection) { } } [Table(Name = "User")] public class User { [Column(IsPrimaryKey = true)] public long ID; [Column] public string FirstName; [Column(CanBeNull=false)] public string LastName; int VersionNumber = 1000; } How do I access the User object or Table<User>