I am going through the code in the templates trying to get a good understanding of how all the pieces fit together. I've tried looking around in the documentation and on the web, but I haven't found anything that goes into detail as to what exactly the DynamicDataManager
class does.
It does a number of things that properly set up the data control and the data source control for use with Dynamic Data. e.g.:
<div mce_keep="true">Set a field generator on the GridView/DetailsView to create the right column set (if AutoGenerateColumns is used)</div>
<div mce_keep="true">Set context type and table name on the data source</div>
<div mce_keep="true">Set AutoGenerateWhereClause=true on DataSource if there is no Where clause</div>
<div mce_keep="true">AutoLoadForeignKeys if flag is set (Linq To Sql only)</div>
<div mce_keep="true">Expands the special Dynamic parameters (e.g DynamicControlParameter) into regular Parameters that the data source can understand</div>
Hope this helps,
David
Marked as answer by craigshoemaker on May 06, 2008 12:17 PM
craigshoemak...
Member
556 Points
17 Posts
MVP
What Does the DynamicDataManager class do
May 05, 2008 10:22 PM|LINK
I am going through the code in the templates trying to get a good understanding of how all the pieces fit together. I've tried looking around in the documentation and on the web, but I haven't found anything that goes into detail as to what exactly the DynamicDataManager class does.
Can you point me in the right direction?
Thanks,
Craig
Craig Shoemaker
http://polymorphicpodcast.com/
http://getpixel8ed.com/
davidebb
Contributor
7006 Points
1366 Posts
Microsoft
Re: What Does the DynamicDataManager class do
May 06, 2008 06:42 AM|LINK
It does a number of things that properly set up the data control and the data source control for use with Dynamic Data. e.g.:
Hope this helps,
David