Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / ContextDataSource.cs / 1305376 / ContextDataSource.cs
#if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { using System.Web; using System.Web.UI; #else namespace System.Web.UI.WebControls { #endif using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; public abstract class ContextDataSource : QueryableDataSource { private ContextDataSourceView _view; internal ContextDataSource(IPage page) : base(page) { } internal ContextDataSource(ContextDataSourceView view) : base(view) { } protected ContextDataSource() { } private ContextDataSourceView View { get { if (_view == null) { _view = (ContextDataSourceView)GetView("DefaultView"); } return _view; } } public virtual string ContextTypeName { get { return View.ContextTypeName; } set { View.ContextTypeName = value; } } protected string EntitySetName { get { return View.EntitySetName; } set { View.EntitySetName = value; } } public virtual string EntityTypeName { get { return View.EntityTypeName; } set { View.EntityTypeName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { using System.Web; using System.Web.UI; #else namespace System.Web.UI.WebControls { #endif using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; public abstract class ContextDataSource : QueryableDataSource { private ContextDataSourceView _view; internal ContextDataSource(IPage page) : base(page) { } internal ContextDataSource(ContextDataSourceView view) : base(view) { } protected ContextDataSource() { } private ContextDataSourceView View { get { if (_view == null) { _view = (ContextDataSourceView)GetView("DefaultView"); } return _view; } } public virtual string ContextTypeName { get { return View.ContextTypeName; } set { View.ContextTypeName = value; } } protected string EntitySetName { get { return View.EntitySetName; } set { View.EntitySetName = value; } } public virtual string EntityTypeName { get { return View.EntityTypeName; } set { View.EntityTypeName = value; } } } } // 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
- DynamicPhysicalDiscoSearcher.cs
- TypeGenericEnumerableViewSchema.cs
- LinqDataSource.cs
- VectorAnimationUsingKeyFrames.cs
- IIS7UserPrincipal.cs
- StatusBarItem.cs
- Site.cs
- LocalizableResourceBuilder.cs
- KeyPressEvent.cs
- SqlClientWrapperSmiStream.cs
- HtmlContainerControl.cs
- dtdvalidator.cs
- RSAOAEPKeyExchangeFormatter.cs
- Formatter.cs
- Rectangle.cs
- ListBox.cs
- _SSPIWrapper.cs
- LineInfo.cs
- FlowLayoutPanelDesigner.cs
- CommandField.cs
- Label.cs
- Cursor.cs
- WSDualHttpSecurity.cs
- ResourceManagerWrapper.cs
- PeerEndPoint.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SyndicationSerializer.cs
- CommandEventArgs.cs
- BaseDataBoundControl.cs
- RotateTransform.cs
- CardSpaceException.cs
- SqlBulkCopyColumnMapping.cs
- DefaultHttpHandler.cs
- SchemaTableOptionalColumn.cs
- SQLInt16Storage.cs
- AppLevelCompilationSectionCache.cs
- HandlerMappingMemo.cs
- Constraint.cs
- ByteKeyFrameCollection.cs
- CodeVariableDeclarationStatement.cs
- ExtensionsSection.cs
- MetadataPropertyvalue.cs
- ReflectEventDescriptor.cs
- EdmProviderManifest.cs
- Processor.cs
- FormViewRow.cs
- Char.cs
- QueryPageSettingsEventArgs.cs
- OdbcEnvironmentHandle.cs
- _Semaphore.cs
- DrawingContextDrawingContextWalker.cs
- DependencyPropertyKey.cs
- RequestQueryParser.cs
- EnumBuilder.cs
- _CacheStreams.cs
- ImageMetadata.cs
- JavaScriptString.cs
- MessageQueueException.cs
- CodeMemberField.cs
- PtsCache.cs
- ScriptManagerProxy.cs
- CallbackValidator.cs
- CompositionAdorner.cs
- FilterEventArgs.cs
- ListenDesigner.cs
- PassportAuthenticationModule.cs
- CounterSample.cs
- BitmapImage.cs
- TypeSystemProvider.cs
- TextDecorationLocationValidation.cs
- TypeTypeConverter.cs
- Vector3DKeyFrameCollection.cs
- VectorCollectionConverter.cs
- BitmapCodecInfo.cs
- Message.cs
- Gdiplus.cs
- PointAnimationBase.cs
- FileSystemInfo.cs
- BrowserCapabilitiesFactoryBase.cs
- PEFileReader.cs
- Converter.cs
- TabletDeviceInfo.cs
- IndexedGlyphRun.cs
- NonValidatingSecurityTokenAuthenticator.cs
- ConvertersCollection.cs
- ViewLoader.cs
- LinkClickEvent.cs
- XmlSchemaAny.cs
- HttpEncoder.cs
- WorkflowTransactionOptions.cs
- TCEAdapterGenerator.cs
- WSMessageEncoding.cs
- RuleSettings.cs
- DoubleAnimationClockResource.cs
- UserControlParser.cs
- EUCJPEncoding.cs
- XmlDataImplementation.cs
- ComplexBindingPropertiesAttribute.cs
- ExceptionHandlers.cs
- DataGridItem.cs