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
- VisualState.cs
- ActivationServices.cs
- HybridDictionary.cs
- SystemFonts.cs
- TextFormatterHost.cs
- HierarchicalDataSourceIDConverter.cs
- SqlNode.cs
- Grid.cs
- FixedTextPointer.cs
- ByteBufferPool.cs
- ResourceReferenceKeyNotFoundException.cs
- NameScope.cs
- Calendar.cs
- VirtualizingPanel.cs
- RegexMatchCollection.cs
- BamlRecordReader.cs
- PeerTransportListenAddressConverter.cs
- ZipIOFileItemStream.cs
- SoapIgnoreAttribute.cs
- Pkcs9Attribute.cs
- ExtendedPropertyDescriptor.cs
- BaseTemplateParser.cs
- EventSource.cs
- ExtenderControl.cs
- MessageDesigner.cs
- LZCodec.cs
- UnsafeNativeMethods.cs
- ColorInterpolationModeValidation.cs
- SystemIPAddressInformation.cs
- StorageTypeMapping.cs
- AssociationSet.cs
- SqlDataSourceSelectingEventArgs.cs
- DataGridAddNewRow.cs
- AutomationProperties.cs
- DataServiceQueryOfT.cs
- localization.cs
- Panel.cs
- MediaEntryAttribute.cs
- ConnectionInterfaceCollection.cs
- ResourcePermissionBase.cs
- _SslState.cs
- Executor.cs
- InstanceOwnerException.cs
- CanonicalFormWriter.cs
- ConfigurationException.cs
- EntityContainerAssociationSetEnd.cs
- ToolStripLocationCancelEventArgs.cs
- COM2ExtendedBrowsingHandler.cs
- LayoutTableCell.cs
- XmlChildEnumerator.cs
- FamilyMapCollection.cs
- XhtmlBasicSelectionListAdapter.cs
- UdpDuplexChannel.cs
- EntityReference.cs
- Rectangle.cs
- ColumnPropertiesGroup.cs
- AndCondition.cs
- DynamicILGenerator.cs
- ConfigXmlCDataSection.cs
- QuotedPrintableStream.cs
- XmlMembersMapping.cs
- CollectionBuilder.cs
- DataConnectionHelper.cs
- NativeMethods.cs
- DocumentAutomationPeer.cs
- MSAANativeProvider.cs
- PackageStore.cs
- SystemUnicastIPAddressInformation.cs
- Location.cs
- SamlAssertion.cs
- Attributes.cs
- handlecollector.cs
- X509SubjectKeyIdentifierClause.cs
- figurelengthconverter.cs
- WmlPhoneCallAdapter.cs
- TypographyProperties.cs
- _Win32.cs
- DisposableCollectionWrapper.cs
- DataColumn.cs
- ImagingCache.cs
- RubberbandSelector.cs
- XmlBinaryReader.cs
- Boolean.cs
- ProtocolsConfiguration.cs
- SelectionItemPattern.cs
- _StreamFramer.cs
- PathSegment.cs
- oledbmetadatacolumnnames.cs
- EntityContainerEmitter.cs
- CellParagraph.cs
- HotSpot.cs
- WebServiceParameterData.cs
- AccessText.cs
- SqlCacheDependency.cs
- FormsAuthenticationModule.cs
- ProviderSettingsCollection.cs
- XmlReflectionMember.cs
- Model3DCollection.cs
- StateMachine.cs
- ContainerTracking.cs