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
- PathData.cs
- BindUriHelper.cs
- AccessibleObject.cs
- Button.cs
- BridgeDataReader.cs
- ParameterBuilder.cs
- SmtpClient.cs
- SlotInfo.cs
- ExtensionSimplifierMarkupObject.cs
- InputLanguageSource.cs
- MethodBuilder.cs
- EncodingInfo.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ComboBoxHelper.cs
- ProvideValueServiceProvider.cs
- Int32Rect.cs
- RegexInterpreter.cs
- BamlRecords.cs
- ProfileSettings.cs
- Signature.cs
- FileChangesMonitor.cs
- FormParameter.cs
- RegexCapture.cs
- TableTextElementCollectionInternal.cs
- XmlIncludeAttribute.cs
- LocalFileSettingsProvider.cs
- CategoryGridEntry.cs
- XPathSelfQuery.cs
- VectorCollectionValueSerializer.cs
- ArraySegment.cs
- AccessedThroughPropertyAttribute.cs
- SchemaHelper.cs
- ZipIOBlockManager.cs
- UnionCodeGroup.cs
- CodeMemberEvent.cs
- LongTypeConverter.cs
- Preprocessor.cs
- Ops.cs
- XmlTypeAttribute.cs
- WebDescriptionAttribute.cs
- FilteredDataSetHelper.cs
- ContentType.cs
- ThreadStaticAttribute.cs
- NullableBoolConverter.cs
- BitmapEffectGeneralTransform.cs
- BamlCollectionHolder.cs
- Point.cs
- COM2Enum.cs
- RectangleConverter.cs
- RandomDelaySendsAsyncResult.cs
- ObsoleteAttribute.cs
- SyndicationSerializer.cs
- RequestCachingSection.cs
- EditorAttribute.cs
- SettingsBindableAttribute.cs
- SHA256.cs
- EmptyImpersonationContext.cs
- WebServiceResponse.cs
- ServiceHttpHandlerFactory.cs
- TimeSpanStorage.cs
- Control.cs
- BaseTemplateBuildProvider.cs
- PerfCounterSection.cs
- XmlSerializerVersionAttribute.cs
- _AutoWebProxyScriptHelper.cs
- HuffCodec.cs
- BypassElementCollection.cs
- RoutedPropertyChangedEventArgs.cs
- IdentityManager.cs
- DropDownButton.cs
- SqlBuilder.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SectionVisual.cs
- Constant.cs
- DataGridViewColumn.cs
- BidOverLoads.cs
- OletxResourceManager.cs
- ResolveCompletedEventArgs.cs
- RegisteredArrayDeclaration.cs
- WindowsProgressbar.cs
- XmlSortKey.cs
- wgx_exports.cs
- SchemaInfo.cs
- LambdaCompiler.ControlFlow.cs
- Validator.cs
- WorkflowLayouts.cs
- CLSCompliantAttribute.cs
- Privilege.cs
- TextServicesCompartment.cs
- Attributes.cs
- Directory.cs
- AncestorChangedEventArgs.cs
- ValidationSummary.cs
- CommandConverter.cs
- AdornerPresentationContext.cs
- XmlC14NWriter.cs
- SmiSettersStream.cs
- BinHexEncoding.cs
- DesignTimeHTMLTextWriter.cs
- PopupEventArgs.cs