1、首先做个实体类

Entity.cs

Code

 

2、进行赋值

Program.cs

Code

 

posted on 2009-10-20 14:45  Liran  阅读(423)  评论(0编辑  收藏  举报