T
ThatsIT.net.au
I am trying to use entity model in a asp.net site.
I have some classes representing entities in the database, these classes
come under the namespace GGSOBJECTS
while my Entity Namespace is GGSEM
When declaring a ObjectQuery like this
dim x as ObjectQuery(of Category)
I keep getting errors saying that you can not convert GGSOBJECTS.Category to
OBJECTQUERY
I have tried to access the entity classes like
dim x as ObjectQuery(of GGSEM.Category)
but this also errors saying GGSEM.Category is undefined
why can I not declare a ObjectQuery as GGSEM.Category using the name space?
How do I stop the confusion of classes without renaming them all?
I have some classes representing entities in the database, these classes
come under the namespace GGSOBJECTS
while my Entity Namespace is GGSEM
When declaring a ObjectQuery like this
dim x as ObjectQuery(of Category)
I keep getting errors saying that you can not convert GGSOBJECTS.Category to
OBJECTQUERY
I have tried to access the entity classes like
dim x as ObjectQuery(of GGSEM.Category)
but this also errors saying GGSEM.Category is undefined
why can I not declare a ObjectQuery as GGSEM.Category using the name space?
How do I stop the confusion of classes without renaming them all?