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
- rsa.cs
- VirtualDirectoryMappingCollection.cs
- CommandCollectionEditor.cs
- SecurityCredentialsManager.cs
- IndentedWriter.cs
- SourceFilter.cs
- GridPattern.cs
- CheckBox.cs
- RefreshPropertiesAttribute.cs
- ObfuscateAssemblyAttribute.cs
- ImageKeyConverter.cs
- XPathAxisIterator.cs
- DoWorkEventArgs.cs
- DirtyTextRange.cs
- SafeNativeMethods.cs
- DateTime.cs
- UnaryOperationBinder.cs
- Monitor.cs
- ReadOnlyDataSourceView.cs
- DebugView.cs
- DocumentViewerBaseAutomationPeer.cs
- ProfileSettings.cs
- RenderOptions.cs
- FileAuthorizationModule.cs
- ControlCachePolicy.cs
- FunctionDescription.cs
- HttpResponseInternalBase.cs
- ExpressionValueEditor.cs
- RTLAwareMessageBox.cs
- InkSerializer.cs
- ControlPropertyNameConverter.cs
- LazyInitializer.cs
- OleDbConnectionFactory.cs
- PropertyChangingEventArgs.cs
- CodeTypeReferenceExpression.cs
- ClientSettingsStore.cs
- CatalogZone.cs
- ClientTarget.cs
- DelegateArgumentValue.cs
- SizeChangedInfo.cs
- XmlConvert.cs
- AdapterDictionary.cs
- EntityDataSourceMemberPath.cs
- FormsAuthenticationModule.cs
- WebPartConnectionCollection.cs
- IIS7ConfigurationLoader.cs
- ParserHooks.cs
- Crypto.cs
- SoapServerProtocol.cs
- IntSecurity.cs
- DragCompletedEventArgs.cs
- HwndSubclass.cs
- CustomErrorCollection.cs
- EventWaitHandle.cs
- HGlobalSafeHandle.cs
- ExpressionsCollectionEditor.cs
- SectionInput.cs
- WithParamAction.cs
- EditingMode.cs
- Roles.cs
- HGlobalSafeHandle.cs
- HandleRef.cs
- NeutralResourcesLanguageAttribute.cs
- SystemIPGlobalStatistics.cs
- SQLString.cs
- GuidelineSet.cs
- TypeListConverter.cs
- ReadWriteObjectLock.cs
- ObjectListItemCollection.cs
- RequestSecurityTokenResponse.cs
- ControlPaint.cs
- ElementHost.cs
- XmlDataProvider.cs
- UnaryExpression.cs
- BaseComponentEditor.cs
- InfoCardSymmetricAlgorithm.cs
- CodeIdentifiers.cs
- CryptoApi.cs
- HtmlContainerControl.cs
- HandledMouseEvent.cs
- DebugHandleTracker.cs
- ArgumentOutOfRangeException.cs
- ListBoxAutomationPeer.cs
- WebPartManager.cs
- XmlSchemaElement.cs
- ThreadExceptionEvent.cs
- CodeTypeParameter.cs
- ObjectDisposedException.cs
- ImagingCache.cs
- SqlDataSourceFilteringEventArgs.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- CodeRemoveEventStatement.cs
- BaseProcessor.cs
- AssemblyBuilderData.cs
- ForEachAction.cs
- ClickablePoint.cs
- SchemaCompiler.cs
- EntityClientCacheKey.cs
- CommandManager.cs
- CodeExpressionCollection.cs