Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 24, 2012 02:48 PM by adamturner34
Participant
1466 Points
1157 Posts
Apr 24, 2012 01:16 PM|LINK
Hi I have a number of Models which all have the same navigation Property, I want to build a generic method which adds assosiation, but how do I get the moethod to know there is that navigation property?
Contributor
4394 Points
1102 Posts
Apr 24, 2012 02:48 PM|LINK
Without seeing the class of your model, there is no way to know.
Dim cls as new clsModel
Response.Write(cls.Navigation)
EnenDaveyBoy
Participant
1466 Points
1157 Posts
Generic Navigation Property Question
Apr 24, 2012 01:16 PM|LINK
Hi I have a number of Models which all have the same navigation Property, I want to build a generic method which adds assosiation, but how do I get the moethod to know there is that navigation property?
adamturner34
Contributor
4394 Points
1102 Posts
Re: Generic Navigation Property Question
Apr 24, 2012 02:48 PM|LINK
Without seeing the class of your model, there is no way to know.
Dim cls as new clsModel
Response.Write(cls.Navigation)