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
- WebEvents.cs
- EventHandlingScope.cs
- ValidationRuleCollection.cs
- MultiPageTextView.cs
- SatelliteContractVersionAttribute.cs
- IPGlobalProperties.cs
- ApplicationContext.cs
- ExpandSegment.cs
- JsonWriter.cs
- RSAProtectedConfigurationProvider.cs
- SqlCacheDependency.cs
- Zone.cs
- ProjectionPlan.cs
- DataSourceControl.cs
- VirtualPath.cs
- PanelStyle.cs
- FontUnit.cs
- VisualStateGroup.cs
- MouseEvent.cs
- NativeMethods.cs
- CachedFontFamily.cs
- SqlPersonalizationProvider.cs
- FindCompletedEventArgs.cs
- ToolStripAdornerWindowService.cs
- TreeNodeSelectionProcessor.cs
- PersistenceException.cs
- _SpnDictionary.cs
- BooleanKeyFrameCollection.cs
- EnumMemberAttribute.cs
- cache.cs
- FixedSchema.cs
- ActiveXHelper.cs
- StringConcat.cs
- OdbcParameterCollection.cs
- SafeRightsManagementPubHandle.cs
- LineProperties.cs
- FlowDocumentPageViewerAutomationPeer.cs
- mediaeventshelper.cs
- CatalogPartCollection.cs
- IteratorFilter.cs
- TypeBuilderInstantiation.cs
- TableItemProviderWrapper.cs
- DrawListViewItemEventArgs.cs
- BooleanStorage.cs
- KnownTypeHelper.cs
- CheckBoxList.cs
- Int16AnimationBase.cs
- ChangeTracker.cs
- WindowsAuthenticationEventArgs.cs
- Transform3DCollection.cs
- BindValidator.cs
- PersianCalendar.cs
- Membership.cs
- MenuStrip.cs
- TreeNodeCollection.cs
- RawStylusSystemGestureInputReport.cs
- HtmlInputSubmit.cs
- Encoder.cs
- WebInvokeAttribute.cs
- OpenTypeCommon.cs
- GeneralTransform3DGroup.cs
- MgmtResManager.cs
- DiscriminatorMap.cs
- SqlConnectionPoolGroupProviderInfo.cs
- PiiTraceSource.cs
- ParserHooks.cs
- TraceSection.cs
- SubstitutionResponseElement.cs
- EventlogProvider.cs
- ScriptResourceAttribute.cs
- CheckBoxStandardAdapter.cs
- ResourcesBuildProvider.cs
- Converter.cs
- ListParagraph.cs
- PropertyPushdownHelper.cs
- TableRowGroup.cs
- iisPickupDirectory.cs
- IfJoinedCondition.cs
- RsaSecurityTokenAuthenticator.cs
- SchemaNamespaceManager.cs
- SurrogateSelector.cs
- VectorCollectionValueSerializer.cs
- iisPickupDirectory.cs
- StylusPoint.cs
- Facet.cs
- SystemWebSectionGroup.cs
- HtmlInputFile.cs
- Boolean.cs
- PageAdapter.cs
- UnionExpr.cs
- BlurBitmapEffect.cs
- NativeMethods.cs
- PolyLineSegmentFigureLogic.cs
- LogWriteRestartAreaState.cs
- PerformanceCounterCategory.cs
- NavigationFailedEventArgs.cs
- CharConverter.cs
- IListConverters.cs
- RtfControls.cs
- CardSpaceSelector.cs