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
- SQLSingle.cs
- followingsibling.cs
- MasterPageParser.cs
- ManagedIStream.cs
- PageParser.cs
- SqlDataSourceConfigureSelectPanel.cs
- SoapEnumAttribute.cs
- DocumentPageTextView.cs
- ButtonBase.cs
- EventEntry.cs
- SQLByteStorage.cs
- OrderPreservingMergeHelper.cs
- Stopwatch.cs
- RectAnimationClockResource.cs
- GlyphCache.cs
- NameService.cs
- TypeReference.cs
- ObjectViewEntityCollectionData.cs
- InputLangChangeRequestEvent.cs
- SID.cs
- PreviewKeyDownEventArgs.cs
- HttpStreamFormatter.cs
- ResourceCategoryAttribute.cs
- PerfService.cs
- PagerSettings.cs
- Knowncolors.cs
- DesignColumnCollection.cs
- CellTreeNode.cs
- MimeBasePart.cs
- IgnorePropertiesAttribute.cs
- SharedStatics.cs
- CacheRequest.cs
- CodePageUtils.cs
- AllowedAudienceUriElement.cs
- Stream.cs
- ExpressionBindingCollection.cs
- RemoteWebConfigurationHost.cs
- ParserExtension.cs
- Enum.cs
- StringFreezingAttribute.cs
- InteropEnvironment.cs
- CorePropertiesFilter.cs
- ExportOptions.cs
- UInt32Converter.cs
- Expressions.cs
- PersistenceTypeAttribute.cs
- StoreAnnotationsMap.cs
- BasicHttpBindingCollectionElement.cs
- InternalsVisibleToAttribute.cs
- ExpressionsCollectionConverter.cs
- DropSource.cs
- MergeFailedEvent.cs
- ProgressBarRenderer.cs
- ErrorTableItemStyle.cs
- HostingEnvironmentSection.cs
- SqlClientWrapperSmiStreamChars.cs
- ControlBindingsCollection.cs
- SystemColors.cs
- PopupControlService.cs
- OdbcConnectionString.cs
- BindingOperations.cs
- GeometryHitTestResult.cs
- PointConverter.cs
- DataServiceStreamProviderWrapper.cs
- ThicknessAnimationUsingKeyFrames.cs
- DataColumnCollection.cs
- TypeToken.cs
- SQLInt64.cs
- GeneralTransformCollection.cs
- PtsHelper.cs
- GestureRecognizer.cs
- PropertyBuilder.cs
- SecureEnvironment.cs
- GlyphCache.cs
- PartBasedPackageProperties.cs
- EncodingInfo.cs
- DbConnectionFactory.cs
- VisualStyleElement.cs
- WarningException.cs
- TableCellAutomationPeer.cs
- MenuItemStyle.cs
- GAC.cs
- SqlDataSourceQuery.cs
- ApplicationActivator.cs
- SortKey.cs
- RadioButtonStandardAdapter.cs
- ContractListAdapter.cs
- KeyValuePair.cs
- PopOutPanel.cs
- DispatcherExceptionEventArgs.cs
- GenericPrincipal.cs
- Object.cs
- RegexCharClass.cs
- XmlDataContract.cs
- RemotingException.cs
- EnumBuilder.cs
- ParameterEditorUserControl.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DesignerTransactionCloseEvent.cs
- PresentationTraceSources.cs