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).
精彩评论