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
- ProcessHostConfigUtils.cs
- LongAverageAggregationOperator.cs
- XpsS0ValidatingLoader.cs
- EdmEntityTypeAttribute.cs
- XmlSignificantWhitespace.cs
- AstTree.cs
- DockingAttribute.cs
- loginstatus.cs
- BinaryNode.cs
- ValidationErrorCollection.cs
- sitestring.cs
- HtmlInputImage.cs
- PolicyManager.cs
- TextTreeUndo.cs
- CallContext.cs
- ColumnTypeConverter.cs
- PhysicalOps.cs
- HttpResponseWrapper.cs
- WindowsRegion.cs
- TransformerConfigurationWizardBase.cs
- EntityDesignerDataSourceView.cs
- ItemType.cs
- UriExt.cs
- Menu.cs
- ToolTip.cs
- ClickablePoint.cs
- SocketElement.cs
- SectionXmlInfo.cs
- HttpHeaderCollection.cs
- ResourcePart.cs
- HotSpotCollection.cs
- followingquery.cs
- MetabaseServerConfig.cs
- Guid.cs
- RsaKeyIdentifierClause.cs
- WebBrowserNavigatedEventHandler.cs
- ActivityWithResult.cs
- ToolboxComponentsCreatingEventArgs.cs
- WSDualHttpBindingElement.cs
- EdmComplexPropertyAttribute.cs
- LayoutDump.cs
- PrivilegeNotHeldException.cs
- XamlToRtfWriter.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- NewExpression.cs
- MembershipSection.cs
- OdbcCommand.cs
- SerTrace.cs
- XmlSortKeyAccumulator.cs
- ByteStack.cs
- ListViewTableRow.cs
- XPathBuilder.cs
- XmlSchemaGroupRef.cs
- RequiredFieldValidator.cs
- DesignerTransactionCloseEvent.cs
- SqlConnectionHelper.cs
- ConfigXmlElement.cs
- GroupDescription.cs
- SecUtil.cs
- WinFormsSpinner.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- RuleSetBrowserDialog.cs
- GetWinFXPath.cs
- UnsafeNativeMethods.cs
- InheritanceContextChangedEventManager.cs
- connectionpool.cs
- ProgressBarAutomationPeer.cs
- StorageComplexTypeMapping.cs
- QueryOptionExpression.cs
- DataTableClearEvent.cs
- RecognizedAudio.cs
- CriticalHandle.cs
- LocalizableResourceBuilder.cs
- ResourcePart.cs
- BinaryParser.cs
- AsyncWaitHandle.cs
- CopyOfAction.cs
- DataGridViewDataErrorEventArgs.cs
- ConnectionProviderAttribute.cs
- Nullable.cs
- CanonicalFormWriter.cs
- TimelineGroup.cs
- AssociationEndMember.cs
- TextRangeSerialization.cs
- RenderContext.cs
- TaiwanCalendar.cs
- FileDialogCustomPlacesCollection.cs
- PropertyGridView.cs
- DllNotFoundException.cs
- HostedBindingBehavior.cs
- RawUIStateInputReport.cs
- Base64Encoder.cs
- DetailsViewUpdateEventArgs.cs
- UpdateException.cs
- FileLevelControlBuilderAttribute.cs
- SQLSingleStorage.cs
- ScriptMethodAttribute.cs
- OleDbDataAdapter.cs
- TogglePattern.cs
- ElapsedEventArgs.cs