Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / DynamicData / DynamicData / ModelProviders / SimpleModelProvider.cs / 1305376 / SimpleModelProvider.cs
namespace System.Web.DynamicData.ModelProviders { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections.ObjectModel; using System.ComponentModel; internal class SimpleDataModelProvider : DataModelProvider { private List_tables = new List (); public SimpleDataModelProvider(Type entityType) { _tables.Add(new SimpleTableProvider(this, entityType)); } public SimpleDataModelProvider(ICustomTypeDescriptor typeDescriptor) { _tables.Add(new SimpleTableProvider(this, typeDescriptor)); } public override ReadOnlyCollection Tables { get { return _tables.AsReadOnly(); } } public override object CreateContext() { throw new NotSupportedException(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DoubleCollection.cs
- BitmapDecoder.cs
- FunctionDescription.cs
- SerializerWriterEventHandlers.cs
- httpstaticobjectscollection.cs
- ObjectFullSpanRewriter.cs
- StrokeNodeEnumerator.cs
- View.cs
- Enum.cs
- EventHandlerList.cs
- Semaphore.cs
- Menu.cs
- XmlQueryContext.cs
- FunctionDefinition.cs
- EventLogger.cs
- _UriSyntax.cs
- DropDownButton.cs
- SettingsContext.cs
- CodeIdentifiers.cs
- NumericUpDown.cs
- COM2ExtendedTypeConverter.cs
- ComplexBindingPropertiesAttribute.cs
- BitmapFrame.cs
- SqlProviderManifest.cs
- LabelInfo.cs
- _StreamFramer.cs
- HostedAspNetEnvironment.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ParserStack.cs
- LinqDataSourceView.cs
- UInt32Storage.cs
- FontDifferentiator.cs
- EdmSchemaError.cs
- TiffBitmapEncoder.cs
- KeyValuePairs.cs
- Logging.cs
- RowVisual.cs
- AnnotationAdorner.cs
- DependencyPropertyDescriptor.cs
- ProfileManager.cs
- Fonts.cs
- DataGridViewComboBoxCell.cs
- Event.cs
- FeatureSupport.cs
- DiagnosticTrace.cs
- XmlWrappingReader.cs
- LoginUtil.cs
- RsaSecurityTokenParameters.cs
- COM2PropertyBuilderUITypeEditor.cs
- ButtonDesigner.cs
- PropertyReference.cs
- SiteMapSection.cs
- dbenumerator.cs
- MarshalDirectiveException.cs
- HtmlForm.cs
- TypefaceMap.cs
- ServerProtocol.cs
- SamlSerializer.cs
- ObjectAnimationBase.cs
- ReadContentAsBinaryHelper.cs
- HyperLinkStyle.cs
- CustomWebEventKey.cs
- RequestCachingSection.cs
- AlternateViewCollection.cs
- PeerNameRegistration.cs
- DbDataAdapter.cs
- BinaryObjectReader.cs
- TextEncodedRawTextWriter.cs
- ExtenderProvidedPropertyAttribute.cs
- ApplicationInfo.cs
- TemplateBindingExpression.cs
- ArrayList.cs
- FormattedText.cs
- SizeValueSerializer.cs
- DynamicMetaObject.cs
- WebBrowser.cs
- RegexRunnerFactory.cs
- CorrelationToken.cs
- SettingsAttributes.cs
- SqlCaseSimplifier.cs
- PrintDialogException.cs
- UnsafeNativeMethods.cs
- PassportIdentity.cs
- FSWPathEditor.cs
- MissingMethodException.cs
- ColumnClickEvent.cs
- EventListener.cs
- XmlText.cs
- RenderingEventArgs.cs
- DataGridViewDesigner.cs
- CalendarDesigner.cs
- SelectionProcessor.cs
- TextTreeTextNode.cs
- BamlResourceDeserializer.cs
- TemplateApplicationHelper.cs
- Ray3DHitTestResult.cs
- SafeRightsManagementEnvironmentHandle.cs
- FixedSOMImage.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- GeneralTransform3DTo2DTo3D.cs