Code:
/ 4.0 / 4.0 / 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. 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
- BitmapDownload.cs
- LinearKeyFrames.cs
- ValidationEventArgs.cs
- StylusLogic.cs
- FlowchartStart.xaml.cs
- GridItemProviderWrapper.cs
- DnsPermission.cs
- TracePayload.cs
- Matrix.cs
- BamlTreeNode.cs
- BindingListCollectionView.cs
- CssStyleCollection.cs
- ColorPalette.cs
- TraceLevelStore.cs
- StylusOverProperty.cs
- XmlCharCheckingReader.cs
- ChannelServices.cs
- BitSet.cs
- MenuDesigner.cs
- CodeTypeDeclaration.cs
- MissingManifestResourceException.cs
- PathGradientBrush.cs
- BmpBitmapDecoder.cs
- AmbientProperties.cs
- AspNetSynchronizationContext.cs
- LicenseManager.cs
- Material.cs
- PathFigure.cs
- PngBitmapEncoder.cs
- AuthenticationModulesSection.cs
- DrawingCollection.cs
- AttributeQuery.cs
- SessionEndingEventArgs.cs
- DataGridViewComboBoxColumn.cs
- UTF32Encoding.cs
- AdapterDictionary.cs
- FactoryId.cs
- ThicknessKeyFrameCollection.cs
- HtmlTableRowCollection.cs
- ZoneLinkButton.cs
- OleDbFactory.cs
- ToolStripPanelCell.cs
- GlobalizationAssembly.cs
- ConfigViewGenerator.cs
- DataGridViewHeaderCell.cs
- FloatUtil.cs
- StyleTypedPropertyAttribute.cs
- FactoryGenerator.cs
- ColumnResult.cs
- MailAddress.cs
- FormsAuthenticationCredentials.cs
- EncodingInfo.cs
- GradientStopCollection.cs
- ClientRuntimeConfig.cs
- RowsCopiedEventArgs.cs
- PhysicalAddress.cs
- TransactionFlowElement.cs
- XslAst.cs
- TrustManagerPromptUI.cs
- AsyncPostBackTrigger.cs
- ProfileBuildProvider.cs
- File.cs
- WindowsFormsLinkLabel.cs
- CompileLiteralTextParser.cs
- LogWriteRestartAreaState.cs
- StringExpressionSet.cs
- CqlParserHelpers.cs
- Point3DAnimationUsingKeyFrames.cs
- SourceElementsCollection.cs
- ResourceReferenceExpression.cs
- WebPartVerbCollection.cs
- DataListItemCollection.cs
- Quaternion.cs
- _LocalDataStore.cs
- PageCodeDomTreeGenerator.cs
- DictionarySectionHandler.cs
- XsdValidatingReader.cs
- SchemaTableOptionalColumn.cs
- ProviderCollection.cs
- GACIdentityPermission.cs
- Helpers.cs
- TokenizerHelper.cs
- CacheEntry.cs
- Nullable.cs
- SkinIDTypeConverter.cs
- SingleQueryOperator.cs
- DataGridViewImageColumn.cs
- Type.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- FilterQuery.cs
- ToolZone.cs
- VectorConverter.cs
- PointF.cs
- TableCell.cs
- XsltContext.cs
- CodeBlockBuilder.cs
- Cursor.cs
- PackagingUtilities.cs
- SchemaTableOptionalColumn.cs
- DesignSurfaceServiceContainer.cs