使用TableHasPrimaryKey或TableHasForeignKey来知道表是否有主键或外键

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/insus/p/12108649.html