Apologies, I didn't mean it that way. I was just trying to separate the issues into different 'buckets'. i.e. the fact that in C# attributes use [ ] while in VB it is < > is in itself a pure C# vs VB syntactic issue, and not directly related to Dynamic
Data. But clearly, you are trying to use Dynamic Data, and in that sense you're in the right place!
To learn how C# converts to VB, there are some online translators that can take you part of the way there. e.g. try
this one. However, note that it is targetting the languages as of their 2.0 version, which don't include some of the newer features (.e.g. no Linq support). Still, I think for your particular
code snippet, it should get you some VB code in pretty decent shape.
Could you try this and let us know if there are still issues? Dont' worry, we'll get you running! :)
David
Marked as answer by davidebb on Apr 14, 2008 05:37 PM
davidebb
Contributor
7006 Points
1366 Posts
Microsoft
Re: Problem with custome Class VB.NET
Apr 14, 2008 04:57 PM|LINK
Apologies, I didn't mean it that way. I was just trying to separate the issues into different 'buckets'. i.e. the fact that in C# attributes use [ ] while in VB it is < > is in itself a pure C# vs VB syntactic issue, and not directly related to Dynamic Data. But clearly, you are trying to use Dynamic Data, and in that sense you're in the right place!
To learn how C# converts to VB, there are some online translators that can take you part of the way there. e.g. try this one. However, note that it is targetting the languages as of their 2.0 version, which don't include some of the newer features (.e.g. no Linq support). Still, I think for your particular code snippet, it should get you some VB code in pretty decent shape.
Could you try this and let us know if there are still issues? Dont' worry, we'll get you running! :)
David