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
- DifferencingCollection.cs
- BaseTemplatedMobileComponentEditor.cs
- CapacityStreamGeometryContext.cs
- EventWaitHandleSecurity.cs
- XmlJsonWriter.cs
- StackOverflowException.cs
- WinFormsComponentEditor.cs
- CDSsyncETWBCLProvider.cs
- ValueUnavailableException.cs
- RectIndependentAnimationStorage.cs
- InputBinder.cs
- BinaryFormatter.cs
- SupportingTokenProviderSpecification.cs
- NamespaceCollection.cs
- OleDbFactory.cs
- DataBinder.cs
- ReliableChannelBinder.cs
- ToolbarAUtomationPeer.cs
- EntryIndex.cs
- DataChangedEventManager.cs
- MailAddress.cs
- documentsequencetextview.cs
- MetadataArtifactLoaderCompositeFile.cs
- _SSPISessionCache.cs
- ContractCodeDomInfo.cs
- HttpSocketManager.cs
- UnsafeNativeMethods.cs
- XmlDocument.cs
- XmlEntity.cs
- VSWCFServiceContractGenerator.cs
- SqlBulkCopyColumnMappingCollection.cs
- TransactionsSectionGroup.cs
- TraceData.cs
- RelatedView.cs
- WebPartEventArgs.cs
- DetailsViewRowCollection.cs
- XmlElementAttribute.cs
- AudioBase.cs
- UTF32Encoding.cs
- MetadataFile.cs
- ActiveXSite.cs
- MultiDataTrigger.cs
- ServiceModelConfigurationSectionGroup.cs
- PageAction.cs
- PageBreakRecord.cs
- DocumentDesigner.cs
- InternalConfigSettingsFactory.cs
- SiteMapNodeItem.cs
- FlowDocumentPage.cs
- MetricEntry.cs
- SeverityFilter.cs
- SimpleType.cs
- RawUIStateInputReport.cs
- DispatcherProcessingDisabled.cs
- Point3D.cs
- QuadraticBezierSegment.cs
- HttpRuntime.cs
- Literal.cs
- KeyedPriorityQueue.cs
- EventArgs.cs
- DataGridViewLayoutData.cs
- ResolveNameEventArgs.cs
- DataBoundControlHelper.cs
- BlurEffect.cs
- ConnectivityStatus.cs
- DetailsViewUpdatedEventArgs.cs
- DataObject.cs
- Rectangle.cs
- TraceHandler.cs
- DataGridViewSelectedRowCollection.cs
- AlignmentXValidation.cs
- ReadOnlyCollectionBase.cs
- LocalizationCodeDomSerializer.cs
- CqlBlock.cs
- SafeSecurityHelper.cs
- JobDuplex.cs
- InterleavedZipPartStream.cs
- DataTableCollection.cs
- EventProviderWriter.cs
- SecurityTokenRequirement.cs
- _AuthenticationState.cs
- SoapEnumAttribute.cs
- SecurityDocument.cs
- WorkflowInstanceProvider.cs
- Configuration.cs
- JsonStringDataContract.cs
- PerfCounterSection.cs
- WebResourceUtil.cs
- DisplayInformation.cs
- XmlLangPropertyAttribute.cs
- FileAccessException.cs
- ListViewUpdateEventArgs.cs
- ResourceAttributes.cs
- SimpleMailWebEventProvider.cs
- ThreadInterruptedException.cs
- _KerberosClient.cs
- _OSSOCK.cs
- SinglePageViewer.cs
- BamlRecordWriter.cs
- UriSchemeKeyedCollection.cs