Here's my code:
Dim user As UserEntity = New UserEntity(Me.UserId)
Dim orgs As OrganizationCollection = user.GetMultiOrgsAssigned(False)
Dim orgsview As EntityView(Of OrganizationEntity)
orgsview = orgs.DefaultView
Dim propertyProjectors As New List(Of EntityPropertyProjector)
propertyProjectors.Add(New EntityPropertyProjector(OrganizationFields.Id, "Id"))
propertyProjectors.Add(New EntityPropertyProjector(OrganizationFields.Name, "HCO"))
Dim projectionResults As New DataTable()
' create the actual projection.
Response.Write("made to the projection")
orgsview.CreateProjection(propertyProjectors, projectionResults)
and i get the following error on compile:
error BC30518: Overload resolution failed because no accessible 'CreateProjection' can be called with these arguments:
'Public Sub CreateProjection(propertyProjectors As System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntityPropertyProjector), projector As SD.LLBLGen.Pro.ORMSupportClasses.IEntityDataProjector)': Value of type 'System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.EntityPropertyProjector)' cannot be converted to 'System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntityPropertyProjector)'.
'Public Sub CreateProjection(propertyProjectors As System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntityPropertyProjector), destination As SD.LLBLGen.Pro.ORMSupportClasses.IEntityCollection)': Value of type 'System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.EntityPropertyProjector)' cannot be converted to 'System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntityPropertyProjector)'.
'Public Sub CreateProjection(propertyProjectors As System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntityPropertyProjector), destination As System.Data.DataTable)': Value of type 'System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.EntityPropertyProjector)' cannot be converted to 'System.Collections.Generic.List(Of SD.LLBLGen.Pro.ORMSupportClasses.IEntityPropertyProjector)'.
any ideas?