model.RegisterContext(typeof(NorthwindDataContext), new ContextConfiguration()
{
ScaffoldAllTables = true,
MetadataProviderFactory = (type => new DefaultTypeDescriptionProvider(type, new AssociatedMetadataTypeTypeDescriptionProvider(type)))
});
特别是 MetadataProviderFactory Line...我似乎不太明白它在 VB 中的外观...