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
- RawStylusInputCustomData.cs
- BaseComponentEditor.cs
- Sql8ExpressionRewriter.cs
- ArraySortHelper.cs
- SchemaCollectionCompiler.cs
- OutputScope.cs
- xsdvalidator.cs
- RenderCapability.cs
- SurrogateEncoder.cs
- SQLBoolean.cs
- BamlRecordReader.cs
- DictionaryContent.cs
- GlyphsSerializer.cs
- StreamAsIStream.cs
- SimpleMailWebEventProvider.cs
- WebServiceBindingAttribute.cs
- Frame.cs
- AnimationTimeline.cs
- Oid.cs
- TrustLevelCollection.cs
- WebZone.cs
- TextEditorParagraphs.cs
- XmlElementCollection.cs
- PagePropertiesChangingEventArgs.cs
- OutputCacheSection.cs
- FixedDocumentPaginator.cs
- RecognizedWordUnit.cs
- BitmapSizeOptions.cs
- ChtmlTextWriter.cs
- Nullable.cs
- NumericExpr.cs
- AvTraceFormat.cs
- recordstate.cs
- ToolStripTextBox.cs
- CollectionContainer.cs
- ArrayExtension.cs
- TdsParserSafeHandles.cs
- EntityCodeGenerator.cs
- GroupStyle.cs
- GrammarBuilderWildcard.cs
- _KerberosClient.cs
- WebScriptMetadataInstanceContextProvider.cs
- TaskbarItemInfo.cs
- MimeBasePart.cs
- EventEntry.cs
- TemplateComponentConnector.cs
- Debug.cs
- SatelliteContractVersionAttribute.cs
- _LoggingObject.cs
- DataKey.cs
- Substitution.cs
- OSFeature.cs
- SystemPens.cs
- HttpSocketManager.cs
- BatchParser.cs
- StructuralType.cs
- ControlUtil.cs
- HyperlinkAutomationPeer.cs
- SoapElementAttribute.cs
- AsnEncodedData.cs
- PropertyPathWorker.cs
- DecoderFallbackWithFailureFlag.cs
- Rect.cs
- storagemappingitemcollection.viewdictionary.cs
- XmlSchemaObject.cs
- ChannelSinkStacks.cs
- NodeLabelEditEvent.cs
- Delegate.cs
- ErrorEventArgs.cs
- GenericTextProperties.cs
- Effect.cs
- GregorianCalendarHelper.cs
- SendingRequestEventArgs.cs
- NativeRecognizer.cs
- StaticFileHandler.cs
- PersonalizationStateInfoCollection.cs
- ReadOnlyDataSourceView.cs
- SessionSwitchEventArgs.cs
- ToolboxBitmapAttribute.cs
- ButtonField.cs
- ScrollPatternIdentifiers.cs
- XXXInfos.cs
- ApplicationSecurityInfo.cs
- _TimerThread.cs
- DataBindingList.cs
- VisualCollection.cs
- BrowsableAttribute.cs
- AspNetHostingPermission.cs
- LiteralDesigner.cs
- DocumentViewerConstants.cs
- DataSourceConverter.cs
- ExtensionWindowHeader.cs
- AnnotationStore.cs
- MD5CryptoServiceProvider.cs
- AllowedAudienceUriElement.cs
- ProfileInfo.cs
- XamlSerializerUtil.cs
- EntityDataSourceConfigureObjectContext.cs
- XmlSchemaType.cs
- XmlnsPrefixAttribute.cs