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
- AssociationSetMetadata.cs
- HtmlInputCheckBox.cs
- SafeHandles.cs
- Vector3DCollectionConverter.cs
- ProcessDesigner.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SecurityPermission.cs
- NameObjectCollectionBase.cs
- TerminateDesigner.cs
- MissingMemberException.cs
- HttpModuleActionCollection.cs
- SoapSchemaMember.cs
- DeviceContext2.cs
- Int32AnimationUsingKeyFrames.cs
- InputLangChangeEvent.cs
- Converter.cs
- ObservableDictionary.cs
- LayoutSettings.cs
- UnsafeCollabNativeMethods.cs
- NamespaceCollection.cs
- Misc.cs
- XmlNodeWriter.cs
- ChildChangedEventArgs.cs
- GenericNameHandler.cs
- ServiceBuildProvider.cs
- DockPattern.cs
- BindValidator.cs
- TextTreeObjectNode.cs
- ClassHandlersStore.cs
- WindowsFont.cs
- TripleDESCryptoServiceProvider.cs
- SingleSelectRootGridEntry.cs
- OdbcErrorCollection.cs
- XmlReader.cs
- TreeWalker.cs
- HtmlSelect.cs
- SoapHeaders.cs
- DataGridViewSelectedRowCollection.cs
- PreviewControlDesigner.cs
- XamlFigureLengthSerializer.cs
- CmsUtils.cs
- DBCommandBuilder.cs
- PreloadedPackages.cs
- HebrewNumber.cs
- SiteMapDataSourceView.cs
- PathFigure.cs
- ListViewSortEventArgs.cs
- SizeAnimationUsingKeyFrames.cs
- EntitySqlQueryBuilder.cs
- EventItfInfo.cs
- ThreadInterruptedException.cs
- EpmSourceTree.cs
- EndpointConfigContainer.cs
- ExpressionBuilder.cs
- _RequestCacheProtocol.cs
- InternalRelationshipCollection.cs
- XmlSchemaAny.cs
- ComAdminWrapper.cs
- WhiteSpaceTrimStringConverter.cs
- ExplicitDiscriminatorMap.cs
- AdRotator.cs
- BaseInfoTable.cs
- SingleAnimationBase.cs
- StringFreezingAttribute.cs
- EventLog.cs
- SqlXml.cs
- SchemaLookupTable.cs
- UnsafeNativeMethods.cs
- ValueExpressions.cs
- Stylus.cs
- InsufficientMemoryException.cs
- Random.cs
- SerializationObjectManager.cs
- HMACMD5.cs
- TdsEnums.cs
- DynamicDiscoSearcher.cs
- HealthMonitoringSectionHelper.cs
- SessionStateItemCollection.cs
- SmtpNetworkElement.cs
- TableRow.cs
- ModifierKeysConverter.cs
- XMLUtil.cs
- VirtualDirectoryMapping.cs
- UserPersonalizationStateInfo.cs
- DEREncoding.cs
- AppearanceEditorPart.cs
- DocumentCollection.cs
- Form.cs
- MessageBodyDescription.cs
- ControlTemplate.cs
- XPathNavigatorReader.cs
- EditorBrowsableAttribute.cs
- CodeRemoveEventStatement.cs
- GlobalizationAssembly.cs
- SafeLocalMemHandle.cs
- AspCompat.cs
- LineInfo.cs
- Compiler.cs
- OleTxTransaction.cs
- TextParagraphCache.cs