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
- DescriptionAttribute.cs
- TraceLog.cs
- CounterSet.cs
- ToolStripLabel.cs
- BinaryMessageFormatter.cs
- ClientData.cs
- SafePointer.cs
- LambdaReference.cs
- HttpHandlerAction.cs
- Wizard.cs
- IIS7WorkerRequest.cs
- SerializationFieldInfo.cs
- OptimisticConcurrencyException.cs
- XmlNodeList.cs
- TheQuery.cs
- DbConnectionClosed.cs
- BinaryMethodMessage.cs
- BufferBuilder.cs
- CompositeCollectionView.cs
- InstancePersistenceEvent.cs
- SQLSingleStorage.cs
- MailDefinition.cs
- XmlDataImplementation.cs
- CheckBox.cs
- FrameDimension.cs
- TriggerBase.cs
- errorpatternmatcher.cs
- SafeRightsManagementPubHandle.cs
- EditorPartCollection.cs
- XPathNodeHelper.cs
- SignedXml.cs
- DeclarativeCatalogPart.cs
- ListViewEditEventArgs.cs
- TextRangeEdit.cs
- CodeDomDecompiler.cs
- WindowsGraphics2.cs
- SchemaImporterExtensionElementCollection.cs
- Quad.cs
- File.cs
- EntityDesignPluralizationHandler.cs
- BaseCollection.cs
- MoveSizeWinEventHandler.cs
- ButtonStandardAdapter.cs
- EventItfInfo.cs
- XmlSchemaDocumentation.cs
- VisualBrush.cs
- TraceContext.cs
- StyleXamlParser.cs
- WebRequestModuleElementCollection.cs
- RoutedUICommand.cs
- SafeNativeMemoryHandle.cs
- Function.cs
- SourceLineInfo.cs
- MultiPageTextView.cs
- StrokeCollectionConverter.cs
- WsdlInspector.cs
- DbDataSourceEnumerator.cs
- Line.cs
- DrawingCollection.cs
- AnnotationDocumentPaginator.cs
- StorageAssociationTypeMapping.cs
- HitTestWithGeometryDrawingContextWalker.cs
- AttributeInfo.cs
- TokenCreationParameter.cs
- AmbiguousMatchException.cs
- Constants.cs
- HtmlShim.cs
- XPathEmptyIterator.cs
- SQLGuidStorage.cs
- RenderDataDrawingContext.cs
- MenuItemBindingCollection.cs
- _SafeNetHandles.cs
- ProgressBarAutomationPeer.cs
- MemoryMappedFile.cs
- SQLInt16Storage.cs
- OLEDB_Enum.cs
- AsymmetricKeyExchangeFormatter.cs
- ProtocolsConfigurationEntry.cs
- LoginUtil.cs
- IPAddressCollection.cs
- RequestTimeoutManager.cs
- HandlerWithFactory.cs
- TextCompositionEventArgs.cs
- shaper.cs
- RayHitTestParameters.cs
- HttpRuntime.cs
- GeometryCollection.cs
- DataException.cs
- NodeLabelEditEvent.cs
- BufferedStream.cs
- Trigger.cs
- DbException.cs
- Console.cs
- HttpDigestClientElement.cs
- ReadOnlyDictionary.cs
- TextRunCache.cs
- EngineSiteSapi.cs
- _WinHttpWebProxyDataBuilder.cs
- WebBrowsableAttribute.cs
- StateRuntime.cs