Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWebControlsDesign / System / Data / WebControls / Design / EntityDataSourceState.cs / 3 / 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
- BitmapCodecInfoInternal.cs
- DropDownButton.cs
- xamlnodes.cs
- EventSinkHelperWriter.cs
- PlatformCulture.cs
- CompilationSection.cs
- SystemDiagnosticsSection.cs
- WebPartHelpVerb.cs
- XmlMapping.cs
- StringAnimationBase.cs
- HwndTarget.cs
- XamlReaderConstants.cs
- QuadTree.cs
- PagerSettings.cs
- ProfilePropertySettings.cs
- JsonFormatWriterGenerator.cs
- DrawingState.cs
- MarkupWriter.cs
- PathParser.cs
- OptimalTextSource.cs
- OracleConnectionFactory.cs
- DataGridViewSelectedCellCollection.cs
- OutputCacheSettings.cs
- ParentQuery.cs
- Types.cs
- HttpRequestWrapper.cs
- MissingMemberException.cs
- TypeElement.cs
- EntityConnection.cs
- InputLanguage.cs
- ContentPropertyAttribute.cs
- DecoderExceptionFallback.cs
- XAMLParseException.cs
- DataTemplateKey.cs
- ContravarianceAdapter.cs
- LongTypeConverter.cs
- InstanceKey.cs
- ToolStripDropDownClosingEventArgs.cs
- ZipIOFileItemStream.cs
- ServiceOperationInfoTypeConverter.cs
- JsonReader.cs
- ContentPosition.cs
- StorageComplexPropertyMapping.cs
- PropertyCondition.cs
- DataGridHeaderBorder.cs
- HitTestParameters3D.cs
- EventLogTraceListener.cs
- ResourcesGenerator.cs
- BitmapImage.cs
- VectorConverter.cs
- RewritingPass.cs
- StylusLogic.cs
- DescriptionAttribute.cs
- ChangePasswordAutoFormat.cs
- InitializerFacet.cs
- Win32MouseDevice.cs
- DefaultCommandConverter.cs
- EventSourceCreationData.cs
- DataControlLinkButton.cs
- ImageBrush.cs
- XsltConvert.cs
- ToolStripRenderer.cs
- ConfigurationLocationCollection.cs
- VisualProxy.cs
- ParserExtension.cs
- ToolStripItem.cs
- GraphicsContext.cs
- Object.cs
- Setter.cs
- ToolStripItemTextRenderEventArgs.cs
- CodeGenHelper.cs
- UIPropertyMetadata.cs
- XmlSchemaElement.cs
- EdmTypeAttribute.cs
- GridViewUpdateEventArgs.cs
- PopupRootAutomationPeer.cs
- RuntimeHandles.cs
- WebPartZoneBase.cs
- BaseCollection.cs
- Compilation.cs
- XmlCharType.cs
- CultureInfoConverter.cs
- HtmlGenericControl.cs
- hresults.cs
- LexicalChunk.cs
- DoubleAnimation.cs
- Label.cs
- CngProperty.cs
- InkCanvasSelectionAdorner.cs
- smtpconnection.cs
- ShaderEffect.cs
- ResourceDescriptionAttribute.cs
- DSASignatureDeformatter.cs
- ValidatedMobileControlConverter.cs
- IdentityValidationException.cs
- MiniLockedBorderGlyph.cs
- DynamicArgumentDesigner.xaml.cs
- TypeSystem.cs
- XmlSerializerVersionAttribute.cs
- PropertyDescriptor.cs