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
- CqlLexerHelpers.cs
- RadioButtonPopupAdapter.cs
- _IPv4Address.cs
- XamlStackWriter.cs
- EpmSourceTree.cs
- TypeExtension.cs
- AutomationProperties.cs
- Stream.cs
- MachineKeyConverter.cs
- BlurBitmapEffect.cs
- FacetDescriptionElement.cs
- DateTimeFormatInfoScanner.cs
- ObjectMemberMapping.cs
- NamedPipeProcessProtocolHandler.cs
- BypassElementCollection.cs
- COM2TypeInfoProcessor.cs
- SecurityMessageProperty.cs
- xmlformatgeneratorstatics.cs
- SHA256Managed.cs
- SByte.cs
- CompiledQuery.cs
- GenerateScriptTypeAttribute.cs
- Utility.cs
- regiisutil.cs
- UserNamePasswordValidator.cs
- FunctionImportElement.cs
- Itemizer.cs
- HttpProfileGroupBase.cs
- ProviderConnectionPointCollection.cs
- DeviceContext.cs
- SmtpLoginAuthenticationModule.cs
- ClientSideProviderDescription.cs
- Propagator.ExtentPlaceholderCreator.cs
- TriState.cs
- ModelTreeEnumerator.cs
- WinEventTracker.cs
- ObjectParameter.cs
- RecordManager.cs
- ResXDataNode.cs
- HGlobalSafeHandle.cs
- DataGridViewColumnCollection.cs
- BamlRecords.cs
- ObjectViewQueryResultData.cs
- UserPreferenceChangedEventArgs.cs
- AnonymousIdentificationSection.cs
- XPathNodeHelper.cs
- TimeManager.cs
- OracleParameterCollection.cs
- shaper.cs
- PresentationTraceSources.cs
- DataControlHelper.cs
- DataContractJsonSerializer.cs
- FixUp.cs
- InputManager.cs
- FlowDocumentScrollViewer.cs
- FixedTextView.cs
- HttpListenerResponse.cs
- SystemIcmpV6Statistics.cs
- AmbientLight.cs
- BooleanAnimationUsingKeyFrames.cs
- OleDbMetaDataFactory.cs
- CommonDialog.cs
- MailAddressParser.cs
- Journal.cs
- HttpRuntime.cs
- ProfileServiceManager.cs
- Int32CAMarshaler.cs
- ZipFileInfoCollection.cs
- DateTimeAutomationPeer.cs
- SignalGate.cs
- _SpnDictionary.cs
- SHA256Managed.cs
- FastEncoder.cs
- HtmlInputFile.cs
- ColumnHeaderConverter.cs
- HwndKeyboardInputProvider.cs
- EmptyTextWriter.cs
- DecoderFallback.cs
- SecurityKeyIdentifierClause.cs
- FlowDocumentPageViewerAutomationPeer.cs
- QueryContinueDragEvent.cs
- ErrorLog.cs
- DataTableMappingCollection.cs
- Scene3D.cs
- CommandManager.cs
- smtpconnection.cs
- FillRuleValidation.cs
- ListCollectionView.cs
- ObjectConverter.cs
- HitTestParameters.cs
- BooleanFacetDescriptionElement.cs
- InkPresenter.cs
- GlyphsSerializer.cs
- CodeDirectoryCompiler.cs
- TypedTableHandler.cs
- MailAddressCollection.cs
- TagPrefixCollection.cs
- TakeOrSkipWhileQueryOperator.cs
- Activity.cs
- MethodRental.cs