Hello,
I am converting the objects to
vb, and have a big problem on the IENTBaseEntity interface. My code is:
Public Interface IENTBaseEntity
Property InsertDate() As DateTime
Property InsertGUserAccountID() As Long
Property UpdateDate() As DateTime
Property UpdateGUserAccountID() As Long
Property Version() As System.Data.Linq.Binary
End Interface
But the problem is that when I try to implement the interface in CustomizedEntities, the result is:
Partial Public Class GAudit
Implements Framework.IENTBaseEntity
Public Property InsertDate1() As Date Implements Framework.IENTBaseEntity.InsertDate
Get
End Get
Set(ByVal value As Date)
End Set
End Property
Public Property InsertGUserAccountID1() As Long Implements Framework.IENTBaseEntity.InsertGUserAccountID
Get
End Get
Set(ByVal value As Long)
End Set
End Property
Public Property UpdateDate1() As Date Implements Framework.IENTBaseEntity.UpdateDate
Get
End Get
Set(ByVal value As Date)
End Set
End Property
Public Property UpdateGUserAccountID1() As Long Implements Framework.IENTBaseEntity.UpdateGUserAccountID
Get
End Get
Set(ByVal value As Long)
End Set
End Property
Public Property Version1() As System.Data.Linq.Binary Implements Framework.IENTBaseEntity.Version
Get
End Get
Set(ByVal value As System.Data.Linq.Binary)
End Set
End Property
End Class
The problem is that I cannot get these fields from the database, they come out empty. I suspect that is because I cannot change the names of the properties to the ones they should be, like InsertDate1 to InsertDate, because there is a conflict with the DataContext file, that also defines InsertDate property...
Any ideas?
Thanks,
Emmanouil