Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWebControlsDesign / System / Data / WebControls / Design / EntityDataSourceState.cs / 1305376 / EntityDataSourceState.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] // // Temporary storage for properties set via the wizard //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { internal class EntityDataSourceState { private string _connectionString; private string _defaultContainerName; private string _entityTypeFilter; private string _entitySetName; private string _select; public string ConnectionString { get { if (_connectionString == null) { return String.Empty; } return _connectionString; } set { _connectionString = value; } } public string DefaultContainerName { get { if (_defaultContainerName == null) { return String.Empty; } return _defaultContainerName; } set { _defaultContainerName = value; } } public bool EnableDelete { get; set; } public bool EnableInsert { get; set; } public bool EnableUpdate { get; set; } public string EntitySetName { get { if (_entitySetName == null) { return String.Empty; } return _entitySetName; } set { _entitySetName = value; } } public string EntityTypeFilter { get { if (_entityTypeFilter == null) { return String.Empty; } return _entityTypeFilter; } set { _entityTypeFilter = value; } } public string Select { get { if (_select == null) { return String.Empty; } return _select; } set { _select = value; } } public bool EnableFlattening { get; set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] // // Temporary storage for properties set via the wizard //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { internal class EntityDataSourceState { private string _connectionString; private string _defaultContainerName; private string _entityTypeFilter; private string _entitySetName; private string _select; public string ConnectionString { get { if (_connectionString == null) { return String.Empty; } return _connectionString; } set { _connectionString = value; } } public string DefaultContainerName { get { if (_defaultContainerName == null) { return String.Empty; } return _defaultContainerName; } set { _defaultContainerName = value; } } public bool EnableDelete { get; set; } public bool EnableInsert { get; set; } public bool EnableUpdate { get; set; } public string EntitySetName { get { if (_entitySetName == null) { return String.Empty; } return _entitySetName; } set { _entitySetName = value; } } public string EntityTypeFilter { get { if (_entityTypeFilter == null) { return String.Empty; } return _entityTypeFilter; } set { _entityTypeFilter = value; } } public string Select { get { if (_select == null) { return String.Empty; } return _select; } set { _select = value; } } public bool EnableFlattening { get; set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConfigurationException.cs
- ProbeDuplexAsyncResult.cs
- SqlConnectionStringBuilder.cs
- Crc32.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ExceptionWrapper.cs
- FragmentNavigationEventArgs.cs
- GeneralTransform3D.cs
- ForwardPositionQuery.cs
- ButtonChrome.cs
- CornerRadius.cs
- ReaderOutput.cs
- DataPagerFieldItem.cs
- BasicDesignerLoader.cs
- ConfigXmlCDataSection.cs
- ResourceProviderFactory.cs
- XamlReaderHelper.cs
- NotificationContext.cs
- XhtmlBasicPanelAdapter.cs
- DataGridTextColumn.cs
- WebPartEditorOkVerb.cs
- Variant.cs
- LocatorPartList.cs
- RoleManagerModule.cs
- MetadataItemSerializer.cs
- InputProviderSite.cs
- ExcludeFromCodeCoverageAttribute.cs
- Number.cs
- BlurEffect.cs
- FullTextBreakpoint.cs
- TreeNodeCollectionEditor.cs
- AnnotationHighlightLayer.cs
- SubstitutionDesigner.cs
- CollectionBase.cs
- Metadata.cs
- DropDownButton.cs
- XmlSchemaInfo.cs
- LookupBindingPropertiesAttribute.cs
- AsymmetricKeyExchangeDeformatter.cs
- PauseStoryboard.cs
- SoundPlayerAction.cs
- XmlILTrace.cs
- Stream.cs
- SqlProfileProvider.cs
- ScrollData.cs
- MediaCommands.cs
- OutOfMemoryException.cs
- FormViewDeleteEventArgs.cs
- XmlBaseWriter.cs
- TreeViewImageIndexConverter.cs
- CheckBoxDesigner.cs
- PriorityItem.cs
- AdjustableArrowCap.cs
- safelinkcollection.cs
- DecimalConverter.cs
- Trigger.cs
- UserInitiatedNavigationPermission.cs
- UntypedNullExpression.cs
- MSAAWinEventWrap.cs
- DataGrid.cs
- DataMemberAttribute.cs
- CollectionBuilder.cs
- ExtractorMetadata.cs
- ValidatedControlConverter.cs
- SystemColorTracker.cs
- ManagementException.cs
- EdgeModeValidation.cs
- xmlsaver.cs
- RectValueSerializer.cs
- CollectionChangeEventArgs.cs
- RemoteCryptoSignHashRequest.cs
- PbrsForward.cs
- ServiceContractListItem.cs
- PerformanceCounterPermission.cs
- Material.cs
- isolationinterop.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- XmlWhitespace.cs
- ObjectAssociationEndMapping.cs
- cookiecontainer.cs
- PersianCalendar.cs
- EpmSourceTree.cs
- LinqDataSourceUpdateEventArgs.cs
- DataGridTextBox.cs
- DataListItemEventArgs.cs
- sqlser.cs
- DateRangeEvent.cs
- ColorTransformHelper.cs
- XPathSingletonIterator.cs
- RegistryPermission.cs
- OleDbFactory.cs
- HtmlInputImage.cs
- ISAPIWorkerRequest.cs
- DataTableNewRowEvent.cs
- EntityModelBuildProvider.cs
- ApplicationBuildProvider.cs
- SQLGuidStorage.cs
- UnionQueryOperator.cs
- ObjectViewListener.cs
- ImportCatalogPart.cs