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
- ValidatorCompatibilityHelper.cs
- StateMachine.cs
- CapiHashAlgorithm.cs
- SamlAttribute.cs
- FlowDocumentFormatter.cs
- SchemaManager.cs
- CacheEntry.cs
- FormattedTextSymbols.cs
- Comparer.cs
- WebPartAuthorizationEventArgs.cs
- UndirectedGraph.cs
- Parser.cs
- HybridObjectCache.cs
- ZipIOExtraFieldElement.cs
- ActivityInterfaces.cs
- XmlSchemaSimpleTypeRestriction.cs
- base64Transforms.cs
- SQLDateTime.cs
- NativeMethods.cs
- RuntimeArgumentHandle.cs
- ValuePatternIdentifiers.cs
- Cursors.cs
- AnonymousIdentificationModule.cs
- SchemaConstraints.cs
- MailMessage.cs
- X509Certificate2.cs
- HelpEvent.cs
- NativeMethods.cs
- ObjectStateEntry.cs
- xml.cs
- XsdCachingReader.cs
- PenCursorManager.cs
- FixedHyperLink.cs
- OptimalBreakSession.cs
- Annotation.cs
- SecurityElement.cs
- DBDataPermissionAttribute.cs
- WebPartUtil.cs
- ConfigurationSettings.cs
- ExpressionPrinter.cs
- TextBreakpoint.cs
- PinnedBufferMemoryStream.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- PropertyEmitterBase.cs
- DataErrorValidationRule.cs
- ResourcesGenerator.cs
- CoTaskMemHandle.cs
- OperatorExpressions.cs
- DataGridViewMethods.cs
- VisualStateGroup.cs
- PeerNameRecord.cs
- Transform.cs
- PersonalizationAdministration.cs
- SapiInterop.cs
- DefaultProxySection.cs
- AppSettingsSection.cs
- TdsValueSetter.cs
- SchemaElementLookUpTable.cs
- AdPostCacheSubstitution.cs
- VersionedStream.cs
- AssemblyResourceLoader.cs
- UITypeEditor.cs
- InlineCollection.cs
- ToolStripStatusLabel.cs
- PointLightBase.cs
- FtpRequestCacheValidator.cs
- securitymgrsite.cs
- TemplateBindingExpression.cs
- uribuilder.cs
- ConstrainedDataObject.cs
- Mutex.cs
- IBuiltInEvidence.cs
- EntityDataSourceQueryBuilder.cs
- WorkflowRuntimeService.cs
- DataBindingHandlerAttribute.cs
- TimelineGroup.cs
- ExpressionEvaluator.cs
- XmlSchemaAnnotation.cs
- CodeSubDirectoriesCollection.cs
- ThrowHelper.cs
- MenuDesigner.cs
- FontConverter.cs
- StringFunctions.cs
- FormatSettings.cs
- RMPublishingDialog.cs
- BridgeDataRecord.cs
- SendSecurityHeaderElement.cs
- WebZone.cs
- CodeParameterDeclarationExpression.cs
- Geometry.cs
- CompilerCollection.cs
- ProvidePropertyAttribute.cs
- ConfigurationException.cs
- TableAdapterManagerMethodGenerator.cs
- TextBox.cs
- MonthChangedEventArgs.cs
- ClientOptions.cs
- OdbcConnection.cs
- PasswordRecovery.cs
- SignedPkcs7.cs