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
- ExpressionBuilder.cs
- CodeDirectiveCollection.cs
- FuncTypeConverter.cs
- MailDefinitionBodyFileNameEditor.cs
- OutputCacheSettings.cs
- ConstNode.cs
- SvcMapFile.cs
- ServiceAppDomainAssociationProvider.cs
- BrowserCapabilitiesFactory.cs
- UIElementPropertyUndoUnit.cs
- InvokeMethodActivityDesigner.cs
- MatcherBuilder.cs
- dataprotectionpermission.cs
- RelationshipDetailsCollection.cs
- TokenBasedSetEnumerator.cs
- SelectionRangeConverter.cs
- OleStrCAMarshaler.cs
- CodeTypeParameter.cs
- validationstate.cs
- CopyNamespacesAction.cs
- ListViewSelectEventArgs.cs
- CompensatableSequenceActivity.cs
- Converter.cs
- URL.cs
- HtmlInputRadioButton.cs
- AttachInfo.cs
- TypeGeneratedEventArgs.cs
- ConnectorSelectionGlyph.cs
- RowParagraph.cs
- JsonDeserializer.cs
- WindowProviderWrapper.cs
- ILGenerator.cs
- ClientBuildManager.cs
- ParameterEditorUserControl.cs
- _DigestClient.cs
- AttributeCollection.cs
- HttpRuntimeSection.cs
- Completion.cs
- TextAnchor.cs
- ValueProviderWrapper.cs
- GradientBrush.cs
- Int16Animation.cs
- LongAverageAggregationOperator.cs
- ContextMenuAutomationPeer.cs
- MessageQueueConverter.cs
- InheritablePropertyChangeInfo.cs
- InheritanceAttribute.cs
- RecommendedAsConfigurableAttribute.cs
- EntityTypeEmitter.cs
- NonVisualControlAttribute.cs
- FixedSOMImage.cs
- EventListenerClientSide.cs
- SmtpDigestAuthenticationModule.cs
- OleDbFactory.cs
- PropertyNames.cs
- BufferedStream.cs
- NativeMethods.cs
- AsnEncodedData.cs
- SymmetricKey.cs
- HtmlTableRowCollection.cs
- ProxyHwnd.cs
- TextMetrics.cs
- XmlSiteMapProvider.cs
- DoubleAnimationBase.cs
- PolicyStatement.cs
- StylusEventArgs.cs
- SqlDataSourceCache.cs
- EdmToObjectNamespaceMap.cs
- BitVector32.cs
- TextViewSelectionProcessor.cs
- RolePrincipal.cs
- SystemException.cs
- ConvertersCollection.cs
- EditorPartDesigner.cs
- TypeProvider.cs
- PointLightBase.cs
- RegexInterpreter.cs
- XmlILIndex.cs
- Executor.cs
- documentsequencetextview.cs
- BinaryObjectWriter.cs
- BasicExpressionVisitor.cs
- DeobfuscatingStream.cs
- HashAlgorithm.cs
- _UncName.cs
- NextPreviousPagerField.cs
- GenericsInstances.cs
- ServiceObjectContainer.cs
- NavigationWindowAutomationPeer.cs
- BitmapCache.cs
- StringResourceManager.cs
- MetadataImporter.cs
- SimplePropertyEntry.cs
- Selector.cs
- AuthenticationSection.cs
- XmlArrayItemAttribute.cs
- ConfigurationFileMap.cs
- ProxyElement.cs
- MyContact.cs
- NodeLabelEditEvent.cs