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
- DesignParameter.cs
- linebase.cs
- DecoderFallback.cs
- CodeThrowExceptionStatement.cs
- WsdlWriter.cs
- DispatchChannelSink.cs
- EventLogPermission.cs
- SingleStorage.cs
- mediaclock.cs
- BrowserDefinitionCollection.cs
- ForeignKeyFactory.cs
- TextEditorContextMenu.cs
- ThemeDirectoryCompiler.cs
- IsolatedStorageFilePermission.cs
- Metadata.cs
- DynamicQueryStringParameter.cs
- DnsPermission.cs
- TemplateContent.cs
- DateTimeEditor.cs
- TextServicesProperty.cs
- ThemeableAttribute.cs
- WebPartHelpVerb.cs
- AuthenticationConfig.cs
- RegexCharClass.cs
- WindowsScroll.cs
- MethodRental.cs
- Attributes.cs
- HttpHeaderCollection.cs
- UnsafeNativeMethods.cs
- ProxyElement.cs
- XmlILConstructAnalyzer.cs
- NavigationWindow.cs
- XsltQilFactory.cs
- ContainerFilterService.cs
- AdapterUtil.cs
- HierarchicalDataTemplate.cs
- FocusManager.cs
- HelpEvent.cs
- metadatamappinghashervisitor.cs
- StringUtil.cs
- NumericPagerField.cs
- TextServicesManager.cs
- CultureInfo.cs
- ValueUtilsSmi.cs
- IsolationInterop.cs
- FileChangesMonitor.cs
- ElementNotEnabledException.cs
- VersionedStreamOwner.cs
- RelationshipManager.cs
- sapiproxy.cs
- XmlSchemaGroupRef.cs
- GeneralTransform3DGroup.cs
- StreamResourceInfo.cs
- PatternMatchRules.cs
- NumericUpDownAccelerationCollection.cs
- WmpBitmapDecoder.cs
- TraceUtility.cs
- SQLBytes.cs
- Adorner.cs
- SelectedCellsChangedEventArgs.cs
- DesignerImageAdapter.cs
- SchemaCollectionPreprocessor.cs
- SapiRecoInterop.cs
- X509Certificate.cs
- CodeDomSerializer.cs
- WebBrowserSiteBase.cs
- CompensationHandlingFilter.cs
- RowToFieldTransformer.cs
- FileAuthorizationModule.cs
- DeclarativeCatalogPartDesigner.cs
- TextParaClient.cs
- PixelFormat.cs
- GcHandle.cs
- StringComparer.cs
- DependencyStoreSurrogate.cs
- Rect3DValueSerializer.cs
- RotateTransform.cs
- StringOutput.cs
- TextRangeAdaptor.cs
- ConcurrentQueue.cs
- Italic.cs
- DataGridViewRowStateChangedEventArgs.cs
- ActivityExecutionFilter.cs
- WebPartsSection.cs
- IntPtr.cs
- StaticResourceExtension.cs
- SHA1CryptoServiceProvider.cs
- ActivityInterfaces.cs
- ZoneIdentityPermission.cs
- EmptyControlCollection.cs
- odbcmetadatacolumnnames.cs
- ButtonChrome.cs
- GCHandleCookieTable.cs
- CompilerTypeWithParams.cs
- QilStrConcat.cs
- FontCacheUtil.cs
- WSSecureConversationFeb2005.cs
- EntityType.cs
- _DomainName.cs
- SessionState.cs