Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWebControlsDesign / System / Data / WebControls / Design / EntityDataSourceState.cs / 3 / 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 bool _enableDelete; private bool _enableInsert; private bool _enableUpdate; 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 { return _enableDelete; } set { _enableDelete = value; } } public bool EnableInsert { get { return _enableInsert; } set { _enableInsert = value; } } public bool EnableUpdate { get { return _enableUpdate; } set { _enableUpdate = value; } } 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; } } } } // 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 bool _enableDelete; private bool _enableInsert; private bool _enableUpdate; 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 { return _enableDelete; } set { _enableDelete = value; } } public bool EnableInsert { get { return _enableInsert; } set { _enableInsert = value; } } public bool EnableUpdate { get { return _enableUpdate; } set { _enableUpdate = value; } } 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; } } } } // 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
- XhtmlBasicLiteralTextAdapter.cs
- XpsColorContext.cs
- RelationshipEndCollection.cs
- MethodAccessException.cs
- PerformanceCounterManager.cs
- DbResourceAllocator.cs
- DataPagerFieldCollection.cs
- SponsorHelper.cs
- CharKeyFrameCollection.cs
- SafeNativeMethods.cs
- KeyValuePair.cs
- ListView.cs
- InternalResources.cs
- InplaceBitmapMetadataWriter.cs
- XmlRawWriterWrapper.cs
- FormViewModeEventArgs.cs
- SqlNotificationRequest.cs
- DataSourceControl.cs
- SoapExtensionStream.cs
- ProviderSettingsCollection.cs
- ObjectDataSourceView.cs
- XmlSerializer.cs
- TitleStyle.cs
- CommandTreeTypeHelper.cs
- FreezableCollection.cs
- SrgsElement.cs
- WebBrowserEvent.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- XsltFunctions.cs
- SubstitutionList.cs
- PassportAuthentication.cs
- HttpListenerResponse.cs
- UnaryNode.cs
- SqlMethods.cs
- MethodImplAttribute.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- OledbConnectionStringbuilder.cs
- CmsUtils.cs
- OrderedDictionary.cs
- Int64.cs
- BrowserDefinitionCollection.cs
- ExtendedPropertiesHandler.cs
- Cursor.cs
- Border.cs
- DBCSCodePageEncoding.cs
- XmlNamespaceDeclarationsAttribute.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DrawTreeNodeEventArgs.cs
- SQLByte.cs
- ArrayExtension.cs
- DateTimeEditor.cs
- EnvelopeVersion.cs
- ProfileGroupSettings.cs
- OletxTransactionHeader.cs
- XmlQueryTypeFactory.cs
- ButtonChrome.cs
- SiteMapDataSourceView.cs
- StringDictionary.cs
- Certificate.cs
- DataGridViewTopLeftHeaderCell.cs
- EmptyStringExpandableObjectConverter.cs
- UIElementPropertyUndoUnit.cs
- PersonalizationStateQuery.cs
- StateMachineWorkflow.cs
- KnownBoxes.cs
- LinqDataSourceContextEventArgs.cs
- ActivationArguments.cs
- TextDecorationCollection.cs
- SqlDesignerDataSourceView.cs
- ManagementScope.cs
- MappingException.cs
- WindowsSysHeader.cs
- ContainerActivationHelper.cs
- BamlResourceContent.cs
- Binding.cs
- SymmetricKey.cs
- Update.cs
- DrawTreeNodeEventArgs.cs
- KeyValuePairs.cs
- SqlClientMetaDataCollectionNames.cs
- WindowsClaimSet.cs
- PointLightBase.cs
- AddInToken.cs
- ReversePositionQuery.cs
- NavigationWindow.cs
- ProxyElement.cs
- ProcessModule.cs
- Calendar.cs
- BitmapEffectInputConnector.cs
- DynamicMetaObjectBinder.cs
- BaseParaClient.cs
- SliderAutomationPeer.cs
- ContextMenu.cs
- HttpModuleCollection.cs
- ListItemCollection.cs
- ArrayExtension.cs
- DupHandleConnectionReader.cs
- SpecularMaterial.cs
- UnauthorizedWebPart.cs
- SharedPerformanceCounter.cs