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
- Tile.cs
- CompressedStack.cs
- SignatureDescription.cs
- XPathDocumentBuilder.cs
- PopupRootAutomationPeer.cs
- NamespaceList.cs
- XmlSchemaSimpleContentExtension.cs
- ComponentGuaranteesAttribute.cs
- MergeFilterQuery.cs
- UnmanagedMemoryStream.cs
- PlacementWorkspace.cs
- XmlDictionaryReaderQuotasElement.cs
- WebSysDescriptionAttribute.cs
- CookieParameter.cs
- StretchValidation.cs
- MailWebEventProvider.cs
- ObjectTag.cs
- DependencyPropertyChangedEventArgs.cs
- DateTimeFormatInfo.cs
- StylusButtonEventArgs.cs
- TypeInfo.cs
- HeaderedItemsControl.cs
- SBCSCodePageEncoding.cs
- XamlTypeMapper.cs
- SystemIPInterfaceStatistics.cs
- TrustManagerMoreInformation.cs
- ThaiBuddhistCalendar.cs
- DbMetaDataFactory.cs
- WebBrowserContainer.cs
- BookmarkInfo.cs
- StringValidatorAttribute.cs
- NativeWrapper.cs
- EventDescriptorCollection.cs
- RenameRuleObjectDialog.Designer.cs
- AffineTransform3D.cs
- ChunkedMemoryStream.cs
- DiscoveryClientBindingElement.cs
- ParameterReplacerVisitor.cs
- XmlDictionaryReader.cs
- WindowsGraphics2.cs
- XmlSchemaComplexType.cs
- CustomGrammar.cs
- ExportOptions.cs
- ImageUrlEditor.cs
- XamlContextStack.cs
- ComponentRenameEvent.cs
- WmlListAdapter.cs
- WebPartsPersonalization.cs
- GridEntryCollection.cs
- ColorAnimationBase.cs
- FieldDescriptor.cs
- CompoundFileStreamReference.cs
- WebBrowserBase.cs
- Evaluator.cs
- FormViewDeletedEventArgs.cs
- XMLDiffLoader.cs
- PatternMatcher.cs
- FrameSecurityDescriptor.cs
- PackWebRequest.cs
- SelectedCellsChangedEventArgs.cs
- EntityKey.cs
- ClientProxyGenerator.cs
- WindowsAltTab.cs
- WorkflowRuntime.cs
- TextTreeFixupNode.cs
- StringFormat.cs
- CodeIndexerExpression.cs
- MulticastOption.cs
- Int16AnimationUsingKeyFrames.cs
- MultiPropertyDescriptorGridEntry.cs
- SoapProtocolReflector.cs
- SiblingIterators.cs
- XmlSchemaAny.cs
- WMIGenerator.cs
- TextServicesHost.cs
- ListenerConstants.cs
- QueryCacheKey.cs
- ImageSource.cs
- _NestedSingleAsyncResult.cs
- CounterSetInstance.cs
- MailDefinition.cs
- DesignerDataSourceView.cs
- EntityDataSourceReferenceGroup.cs
- DLinqTableProvider.cs
- CredentialCache.cs
- FloaterParaClient.cs
- ScriptResourceHandler.cs
- XmlReader.cs
- CommandLineParser.cs
- TraceSwitch.cs
- CodeTypeDeclaration.cs
- ListViewDeletedEventArgs.cs
- CroppedBitmap.cs
- XmlTextWriter.cs
- Label.cs
- NativeMethods.cs
- StrongName.cs
- XmlChoiceIdentifierAttribute.cs
- ConfigUtil.cs
- SoapSchemaExporter.cs