Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

entity framework acces by string name

$
0
0

hi.

how do i acces an model's column name by string?

such as

myrowmodel.column("id)) = "465746"

myrowmodel.column("food)) = "fish"

and how do i convert it back to string?

dim str as string = myrowmodel.id.tostring


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>