欢迎加我的QQ群:193522571,一起来讨论、交流!

CAD.NET中获取命名字典中的数据方法

语句如下:

dicts.GetAt(Position).GetXrecord("年薪").First().Value

其中

DBDictionary dicts=(DBDictionary)trans.GetObject(db.NamedObjectsDictionaryId, OpenMode.ForRead);

trans:

using (Transaction trans=db.TransactionManager.StartTransaction())

posted @ 2014-07-12 17:51  swtool  阅读(484)  评论(0编辑  收藏  举报
欢迎加我的QQ群:193522571,一起来讨论、交流!