/ B x |. m; d- |语言级访问数据库说的是Linq to Sql吧。那东西基本上就是个语法糖,而且微软也已经停止支持了,转而发展Entity Frameworks去了。6 H1 J. i" K. _" R& Z8 `3 p( {
Linq用起来还是很爽的,用类似于sql的集合操作语言,用来对付collections和xml dom之类的东西写起来真的很省力(当然效率是个问题)
回复 老兵帅客 的帖子) I5 `! q7 u+ p1 w. ?
0 `7 E$ D$ O' g1 l
在wikipedia上搜了一下reflection C++。9 i0 j1 q3 p, e4 ]& h6 r! `% f
Qt/C++/ m# ~* h, W- V& B! z9 g Y+ L
0 P* f; Q% `, ]' T
Qt framework extends C++ with its meta-language and provides reflection ability of member/method reference and query by name for Qt objects with QMetaObject class, which contains meta-information about the Qt objects.
Objective-C is a reflective, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.
8 z- H" M* E7 W- X
貌似并不能直接支持,但是可以实现类似效果。 8 E: [- a8 V) cc++ reflection) \; h8 u0 f A% _* o