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
- PeerInputChannelListener.cs
- SQLSingleStorage.cs
- XsltInput.cs
- ExitEventArgs.cs
- TaskHelper.cs
- HostedHttpTransportManager.cs
- PrintEvent.cs
- VirtualPathProvider.cs
- WebSysDescriptionAttribute.cs
- GeometryModel3D.cs
- Filter.cs
- ListManagerBindingsCollection.cs
- DataSourceConverter.cs
- TypeUtil.cs
- ReadOnlyAttribute.cs
- ColumnWidthChangingEvent.cs
- SqlTrackingWorkflowInstance.cs
- TableCellCollection.cs
- TypeViewSchema.cs
- IsolatedStorageFilePermission.cs
- CompressedStack.cs
- ReaderOutput.cs
- SafeNativeMethodsCLR.cs
- RequestSecurityTokenSerializer.cs
- NotifyParentPropertyAttribute.cs
- HostnameComparisonMode.cs
- IDictionary.cs
- MessageHeaders.cs
- DesignRelation.cs
- CompositeScriptReference.cs
- PersonalizationState.cs
- TimeSpanSecondsConverter.cs
- UIPermission.cs
- MouseEventArgs.cs
- SupportedAddressingMode.cs
- CannotUnloadAppDomainException.cs
- TraceSource.cs
- _BasicClient.cs
- DoubleUtil.cs
- CodeArrayIndexerExpression.cs
- IntSecurity.cs
- Annotation.cs
- CorePropertiesFilter.cs
- TextDecorations.cs
- LogEntry.cs
- BaseTreeIterator.cs
- ChainedAsyncResult.cs
- LogicalTreeHelper.cs
- BufferBuilder.cs
- LinqTreeNodeEvaluator.cs
- PointAnimationClockResource.cs
- PermissionAttributes.cs
- HtmlTableRow.cs
- NodeFunctions.cs
- GlyphsSerializer.cs
- CorrelationManager.cs
- odbcmetadatafactory.cs
- ReadContentAsBinaryHelper.cs
- DataGridBoolColumn.cs
- ArglessEventHandlerProxy.cs
- Int32AnimationBase.cs
- ArgIterator.cs
- HtmlGenericControl.cs
- InkCanvasFeedbackAdorner.cs
- TextParagraphProperties.cs
- BinarySecretKeyIdentifierClause.cs
- ListControl.cs
- QilXmlReader.cs
- MD5.cs
- GenericTypeParameterBuilder.cs
- ZipIOFileItemStream.cs
- ConditionalExpression.cs
- Pair.cs
- SizeAnimation.cs
- ReadOnlyCollectionBuilder.cs
- DataRowChangeEvent.cs
- FileCodeGroup.cs
- UpdatePanelTrigger.cs
- ProfessionalColors.cs
- CompilerGeneratedAttribute.cs
- IOThreadScheduler.cs
- FileController.cs
- DependencyStoreSurrogate.cs
- DataObjectSettingDataEventArgs.cs
- WebConfigurationHostFileChange.cs
- ManagementClass.cs
- AbstractExpressions.cs
- XD.cs
- SystemIPGlobalProperties.cs
- ResXBuildProvider.cs
- ToolStripArrowRenderEventArgs.cs
- SHA384.cs
- TempFiles.cs
- WebPartHelpVerb.cs
- EventSchemaTraceListener.cs
- SafeSystemMetrics.cs
- ShapingEngine.cs
- UnionExpr.cs
- AuthorizationContext.cs
- SystemShuttingDownException.cs