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
- BitmapEffectrendercontext.cs
- SoapIncludeAttribute.cs
- CallSiteBinder.cs
- ComponentEditorForm.cs
- RepeaterItem.cs
- PopupControlService.cs
- ArrangedElementCollection.cs
- PageFunction.cs
- IdleTimeoutMonitor.cs
- basevalidator.cs
- DbConnectionPoolGroup.cs
- ISFTagAndGuidCache.cs
- UpdateInfo.cs
- WebEvents.cs
- LogReserveAndAppendState.cs
- CurrentTimeZone.cs
- BrowserPolicyValidator.cs
- RefreshPropertiesAttribute.cs
- BindingEntityInfo.cs
- UserNamePasswordValidationMode.cs
- XmlSchemaIdentityConstraint.cs
- DataServiceQueryProvider.cs
- PropertyNames.cs
- LayoutEditorPart.cs
- TreeNode.cs
- ActivityBuilderHelper.cs
- _ListenerResponseStream.cs
- ValidationPropertyAttribute.cs
- ResourceContainer.cs
- SingleResultAttribute.cs
- EditorZone.cs
- ListBox.cs
- Viewport3DAutomationPeer.cs
- ContainerParaClient.cs
- XmlBindingWorker.cs
- PackagePartCollection.cs
- SHA512.cs
- Executor.cs
- InkCanvasInnerCanvas.cs
- ISAPIRuntime.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- IFlowDocumentViewer.cs
- ImageAutomationPeer.cs
- InputBindingCollection.cs
- SqlNamer.cs
- QueuePathEditor.cs
- ACE.cs
- ExpressionBuilderContext.cs
- FixedElement.cs
- AdCreatedEventArgs.cs
- ListViewGroup.cs
- AlternationConverter.cs
- Int16Converter.cs
- DbExpressionRules.cs
- PersistenceTask.cs
- XmlElement.cs
- SecondaryIndex.cs
- ReadingWritingEntityEventArgs.cs
- SourceSwitch.cs
- List.cs
- ConfigurationValidatorAttribute.cs
- PerformanceCounterPermissionEntry.cs
- TdsParser.cs
- FirstQueryOperator.cs
- ImageAttributes.cs
- baseshape.cs
- CustomError.cs
- SmtpMail.cs
- TraceFilter.cs
- StatusBarAutomationPeer.cs
- LinearQuaternionKeyFrame.cs
- DictionaryEntry.cs
- ExclusiveCanonicalizationTransform.cs
- ConfigDefinitionUpdates.cs
- Ref.cs
- UniformGrid.cs
- TagMapInfo.cs
- SmiMetaDataProperty.cs
- PeerName.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- AggregatePushdown.cs
- DurationConverter.cs
- DependencyPropertyValueSerializer.cs
- StructuredTypeEmitter.cs
- CollectionViewGroupRoot.cs
- SymbolMethod.cs
- ColorPalette.cs
- ServiceManager.cs
- StatusBarDrawItemEvent.cs
- PropertyOverridesTypeEditor.cs
- EntityDataSourceWizardForm.cs
- PixelFormat.cs
- AdornerDecorator.cs
- TableLayoutPanel.cs
- DefaultPropertyAttribute.cs
- TraceListener.cs
- DecimalAnimationUsingKeyFrames.cs
- LogManagementAsyncResult.cs
- DataGridViewSortCompareEventArgs.cs
- TransactionContextValidator.cs