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
- future.cs
- CharEnumerator.cs
- RoleGroupCollection.cs
- SafeCryptoHandles.cs
- HashHelper.cs
- MLangCodePageEncoding.cs
- TextServicesDisplayAttribute.cs
- GeneralTransform.cs
- StylusButtonCollection.cs
- DataControlFieldCell.cs
- ApplicationId.cs
- Int32RectConverter.cs
- LambdaValue.cs
- SHA1Managed.cs
- RunInstallerAttribute.cs
- XmlProcessingInstruction.cs
- NodeFunctions.cs
- ClipboardProcessor.cs
- TimerExtension.cs
- ToolStripSeparator.cs
- PtsPage.cs
- PageSetupDialog.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PackagingUtilities.cs
- ChannelTokenTypeConverter.cs
- clipboard.cs
- CodeCompiler.cs
- WindowsScrollBarBits.cs
- PageThemeParser.cs
- TextPenaltyModule.cs
- SafePEFileHandle.cs
- Column.cs
- ActivityDesigner.cs
- AppSettingsExpressionBuilder.cs
- BaseTemplateBuildProvider.cs
- ZipIOExtraFieldElement.cs
- ErrorFormatter.cs
- Hash.cs
- XPathQilFactory.cs
- FormsAuthentication.cs
- Policy.cs
- PageRanges.cs
- IdentityReference.cs
- QuerySelectOp.cs
- ParagraphResult.cs
- TemplateBindingExpressionConverter.cs
- IBuiltInEvidence.cs
- WindowsIdentity.cs
- DataObjectSettingDataEventArgs.cs
- JournalEntry.cs
- IndexExpression.cs
- SettingsContext.cs
- AnnotationStore.cs
- UnsafeNativeMethods.cs
- UserInitiatedNavigationPermission.cs
- Propagator.ExtentPlaceholderCreator.cs
- RijndaelManagedTransform.cs
- PropertyEmitter.cs
- DefaultClaimSet.cs
- AssertUtility.cs
- ChangesetResponse.cs
- StrokeCollectionDefaultValueFactory.cs
- DataBindEngine.cs
- PaperSize.cs
- ElementUtil.cs
- IsolatedStorageException.cs
- SR.cs
- DynamicRenderer.cs
- CachedTypeface.cs
- ConfigXmlText.cs
- _LocalDataStoreMgr.cs
- LineBreakRecord.cs
- GiveFeedbackEvent.cs
- UndirectedGraph.cs
- COM2Properties.cs
- TreeNodeEventArgs.cs
- DataColumnCollection.cs
- BuilderPropertyEntry.cs
- CompositeCollection.cs
- ZoneButton.cs
- OpenTypeLayoutCache.cs
- CompilerErrorCollection.cs
- ShaderEffect.cs
- CompiledIdentityConstraint.cs
- BinaryFormatter.cs
- ErrorEventArgs.cs
- FacetValues.cs
- SoapSchemaImporter.cs
- GridViewRow.cs
- ReflectionPermission.cs
- PropertyGeneratedEventArgs.cs
- CacheHelper.cs
- SeekableMessageNavigator.cs
- SourceSwitch.cs
- TraceContext.cs
- SqlGatherConsumedAliases.cs
- DefaultObjectMappingItemCollection.cs
- PageThemeParser.cs
- Hyperlink.cs
- SdlChannelSink.cs