I have a DBML file and associated VB.Net classes generated by DbLinq that does not compile. I have problems in two areas and I don't seem to be able to figure out what reference I may be missing from my solution.
The first error is a "Missing Type" error from the 'GetType' statement:
<System.Data.Linq.Mapping.DatabaseAttribute(Name:="dcinema"), _
Provider(GetType(MySQL))> _ ß-------- Error here says "Type expected"
Partial Public Class DCinema
Inherits DbLinq.Data.Linq.DataContext
Private Shared mappingSource As System.Data.Linq.Mapping.MappingSource =
New AttributeMappingSource
Then I have an issue with the return type of each table property in the
class. The error I get is "Value of type 'DbLinq.Data.Linq.Table(Of
WindowsApplication1.TBlAudioResults)' cannot be converted to
'System.Data.Linq.Table(Of WindowsApplication1.TBlAudioResults)'."
Public ReadOnly Property TBlAudioResults() As
System.Data.Linq.Table(Of TBlAudioResults)
Get
Return Me.GetTable(Of TBlAudioResults)
End Get
End Property
Once again, any help would be appreciated.
Sid.
Avian Ambassadors - Flights of Education
www.AvianAmbassadors.com
The Bird Training Blog <http://avianambassadors.com/BirdTraining/>
Behavior and Training Seminars <http://www.behaviorandtraining.com/>
--
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en.
<<attachment: winmail.dat>>
