Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataWebControlsDesign / System / Data / WebControls / Design / EntityDataSourceState.cs / 1 / 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
- EntitySetBaseCollection.cs
- HMACSHA512.cs
- DirectoryInfo.cs
- ConcurrencyBehavior.cs
- ButtonFieldBase.cs
- UncommonField.cs
- StringResourceManager.cs
- ProxyHwnd.cs
- SystemIPGlobalProperties.cs
- ListView.cs
- RelativeSource.cs
- TemplatedWizardStep.cs
- UserNameSecurityToken.cs
- SafeLibraryHandle.cs
- DocumentPageHost.cs
- SaveLedgerEntryRequest.cs
- MapPathBasedVirtualPathProvider.cs
- CustomAssemblyResolver.cs
- MiniModule.cs
- NamedPermissionSet.cs
- MetadataStore.cs
- MeasureData.cs
- TextEncodedRawTextWriter.cs
- ConfigurationFileMap.cs
- safex509handles.cs
- EntityDataSourceContainerNameConverter.cs
- BinaryFormatterWriter.cs
- StringInfo.cs
- NodeCounter.cs
- RegionInfo.cs
- BindingOperations.cs
- BindingWorker.cs
- CircleHotSpot.cs
- AccessDataSourceDesigner.cs
- ParameterCollection.cs
- ProcessHostConfigUtils.cs
- SoapCodeExporter.cs
- Version.cs
- InputMethod.cs
- ApplicationActivator.cs
- DebuggerAttributes.cs
- CodeAccessPermission.cs
- MaskedTextBox.cs
- TdsParserSafeHandles.cs
- CompletionCallbackWrapper.cs
- XmlChildNodes.cs
- GcSettings.cs
- SqlWebEventProvider.cs
- HtmlDocument.cs
- RoleService.cs
- CollectionConverter.cs
- Rectangle.cs
- Grant.cs
- SkewTransform.cs
- X509RawDataKeyIdentifierClause.cs
- SchemaEntity.cs
- OdbcConnectionHandle.cs
- QueryConverter.cs
- SrgsRuleRef.cs
- securestring.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- MaskInputRejectedEventArgs.cs
- ChangeProcessor.cs
- FileDetails.cs
- SerializationStore.cs
- NameSpaceExtractor.cs
- CompressEmulationStream.cs
- SingleObjectCollection.cs
- HtmlFormWrapper.cs
- ProviderConnectionPoint.cs
- ComplexBindingPropertiesAttribute.cs
- SqlDataSourceConnectionPanel.cs
- _Events.cs
- EventBuilder.cs
- ApplicationBuildProvider.cs
- DispatcherEventArgs.cs
- StylusPointProperties.cs
- FieldBuilder.cs
- HtmlInputReset.cs
- ComAwareEventInfo.cs
- DataSourceXmlTextReader.cs
- WindowsFont.cs
- ThreadStateException.cs
- DataReaderContainer.cs
- Operand.cs
- basecomparevalidator.cs
- ServiceModelEnumValidator.cs
- RowType.cs
- SelectionHighlightInfo.cs
- BrowserCapabilitiesCodeGenerator.cs
- BuiltInPermissionSets.cs
- Event.cs
- NameValueCollection.cs
- RtfNavigator.cs
- XmlAttribute.cs
- CngUIPolicy.cs
- Descriptor.cs
- DataGridViewElement.cs
- ColumnResult.cs
- ProfileEventArgs.cs