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
- SiteMapNode.cs
- XmlSchemaGroupRef.cs
- DecimalConstantAttribute.cs
- ListSortDescription.cs
- AssertSection.cs
- IdlingCommunicationPool.cs
- SiteMapDataSource.cs
- MultipleViewProviderWrapper.cs
- XmlSchemaAnyAttribute.cs
- XmlNamespaceDeclarationsAttribute.cs
- ActivationServices.cs
- IApplicationTrustManager.cs
- FormParameter.cs
- Nullable.cs
- Thread.cs
- ListViewCancelEventArgs.cs
- InputLanguageSource.cs
- XmlQueryType.cs
- HijriCalendar.cs
- DelegateArgumentValue.cs
- RuntimeResourceSet.cs
- TabControlAutomationPeer.cs
- XomlCompiler.cs
- DataObjectMethodAttribute.cs
- ControllableStoryboardAction.cs
- TextBlock.cs
- SortFieldComparer.cs
- cache.cs
- ConfigurationPropertyCollection.cs
- ActiveXHost.cs
- UserControl.cs
- UnsafeNativeMethods.cs
- TextLine.cs
- FixedTextPointer.cs
- OdbcConnectionHandle.cs
- ToolStripLocationCancelEventArgs.cs
- TreePrinter.cs
- ParameterCollection.cs
- shaperfactoryquerycacheentry.cs
- WebPartEditorApplyVerb.cs
- RadioButtonList.cs
- MatrixUtil.cs
- OleDbCommand.cs
- DelegateSerializationHolder.cs
- FormsAuthenticationTicket.cs
- SafeEventLogReadHandle.cs
- WorkflowTransactionOptions.cs
- Task.cs
- HttpEncoder.cs
- UnmanagedMarshal.cs
- UIServiceHelper.cs
- HttpCapabilitiesBase.cs
- TextElementAutomationPeer.cs
- PhonemeEventArgs.cs
- BaseAddressElementCollection.cs
- NavigationService.cs
- MulticastNotSupportedException.cs
- AuthenticationManager.cs
- InputLangChangeRequestEvent.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- AnimationTimeline.cs
- AnnotationService.cs
- PointF.cs
- SafeFindHandle.cs
- TimeoutException.cs
- EntityProxyFactory.cs
- RemoveFromCollection.cs
- BaseTypeViewSchema.cs
- PageRanges.cs
- CompilationLock.cs
- AggregationMinMaxHelpers.cs
- SineEase.cs
- ArrayListCollectionBase.cs
- ActivityInterfaces.cs
- FontUnitConverter.cs
- ZipPackagePart.cs
- XPathPatternBuilder.cs
- BitmapImage.cs
- SrgsRule.cs
- Size3DConverter.cs
- WebResourceAttribute.cs
- PropertyTabChangedEvent.cs
- PhysicalFontFamily.cs
- SortDescription.cs
- RegisteredDisposeScript.cs
- ListParagraph.cs
- IdleTimeoutMonitor.cs
- querybuilder.cs
- DrawingContextWalker.cs
- Types.cs
- MetabaseSettingsIis7.cs
- EditorPartCollection.cs
- ConversionContext.cs
- ListViewItemMouseHoverEvent.cs
- Util.cs
- WindowsListViewSubItem.cs
- PropertyValidationContext.cs
- CombinedGeometry.cs
- HttpCapabilitiesEvaluator.cs
- PenThreadWorker.cs