开发者

how to create Property classes so that i can convert dataset to that to these

开发者 https://www.devze.com 2023-03-07 14:18 出处:网络
I want to create classes containing properties like: public int Id {开发者_如何学Python get; set; }

I want to create classes containing properties like:

public int Id {开发者_如何学Python get; set; }

so that i will be able to convert dataset to these property classes.

If some one has idea then please reply to me.

Thanks.


You're describing the subset of Object-Relational Mapping (ORM). Of course there are numerous solutions to your problem.

The standard C#.NET ORM solutions are Linq to SQL and Entity Framework. Both have benefits and drawbacks, but Linq to SQL seems a little easier to get the grips of (at least to me).

0

精彩评论

暂无评论...
验证码 换一张
取 消