Last post Sep 01, 2008 03:23 PM by Adult
Sep 01, 2008 02:15 PM|andyb90|LINK
From my reading, it appears that Linq-to-SQL and Linq-to-Entities are supported as sources for the DynamicData feature. Can an XML file (I assume through Linq-to-XML) be a source also?
Sep 01, 2008 03:23 PM|Adult|LINK
XMLprovider not exist,but you are welcome to create your own.
Here is starting point
Basically,you need to create your custom MetadataProviderFactory,which you plug in your module
model.RegisterContext(typeof(eDataContext), new ContextConfiguration()
ScaffoldAllTables = true,
MetadataProviderFactory = (type => new DefaultTypeDescriptionProvider(type, new AssociatedMetadataTypeTypeDescriptionProvider(type))),