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
- ICspAsymmetricAlgorithm.cs
- SessionStateContainer.cs
- StorageBasedPackageProperties.cs
- XmlBinaryWriterSession.cs
- CopyOnWriteList.cs
- HttpRawResponse.cs
- ColorEditor.cs
- TargetPerspective.cs
- PrintPageEvent.cs
- ImageCodecInfo.cs
- Emitter.cs
- DataGridRowEventArgs.cs
- LambdaExpression.cs
- BitArray.cs
- EncryptedType.cs
- RadialGradientBrush.cs
- TableItemStyle.cs
- TabPanel.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- ActivityWithResultWrapper.cs
- ResourcePool.cs
- MenuItem.cs
- ReadOnlyDataSourceView.cs
- DataGridViewAutoSizeModeEventArgs.cs
- VisualStyleTypesAndProperties.cs
- storepermission.cs
- DataGridViewDataErrorEventArgs.cs
- TypeInformation.cs
- MenuItemBinding.cs
- Annotation.cs
- Geometry3D.cs
- WebContext.cs
- EventMap.cs
- CharStorage.cs
- TextContainerHelper.cs
- HttpsHostedTransportConfiguration.cs
- ContainsRowNumberChecker.cs
- IList.cs
- Boolean.cs
- OutputWindow.cs
- FrameworkContentElement.cs
- OledbConnectionStringbuilder.cs
- WebBrowserSiteBase.cs
- TransformerConfigurationWizardBase.cs
- WindowsFormsLinkLabel.cs
- UpdateInfo.cs
- RetrieveVirtualItemEventArgs.cs
- PkcsMisc.cs
- HttpWebRequest.cs
- __ComObject.cs
- InstancePersistenceEvent.cs
- OrthographicCamera.cs
- ParentUndoUnit.cs
- ZipIOLocalFileDataDescriptor.cs
- GroupStyle.cs
- VisualBasicSettings.cs
- PerformanceCounterLib.cs
- InstanceKeyNotReadyException.cs
- OperationResponse.cs
- Utility.cs
- MemberAccessException.cs
- RadioButtonAutomationPeer.cs
- KeyFrames.cs
- SecurityTokenInclusionMode.cs
- ToolTipAutomationPeer.cs
- ToolStripButton.cs
- AttributeUsageAttribute.cs
- RuleInfoComparer.cs
- ObfuscateAssemblyAttribute.cs
- MessageLogTraceRecord.cs
- FontUnitConverter.cs
- TempEnvironment.cs
- TheQuery.cs
- NamespaceImport.cs
- CanExecuteRoutedEventArgs.cs
- NullableConverter.cs
- AssemblyAttributesGoHere.cs
- Base64WriteStateInfo.cs
- DialogResultConverter.cs
- ActiveDocumentEvent.cs
- PointAnimationClockResource.cs
- Image.cs
- NumericUpDownAccelerationCollection.cs
- SqlBulkCopyColumnMapping.cs
- BooleanProjectedSlot.cs
- RSAPKCS1SignatureDeformatter.cs
- ErrorRuntimeConfig.cs
- SessionEndedEventArgs.cs
- mediapermission.cs
- ImageMap.cs
- RequestCacheManager.cs
- XmlAttributeCollection.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- DataGridPageChangedEventArgs.cs
- ExternalCalls.cs
- EraserBehavior.cs
- IndexedEnumerable.cs
- SessionSwitchEventArgs.cs
- TextSpan.cs
- AssemblyUtil.cs