Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataWebControlsDesign / System / Data / WebControls / Design / EntityDataSourceState.cs / 1 / 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
- TagElement.cs
- ObjectFullSpanRewriter.cs
- EventRecord.cs
- PictureBox.cs
- WebPartMenu.cs
- WebPartVerbsEventArgs.cs
- LazyTextWriterCreator.cs
- EditingCommands.cs
- QueryCursorEventArgs.cs
- StrokeDescriptor.cs
- CollectionExtensions.cs
- arabicshape.cs
- BuildResultCache.cs
- AssemblyAssociatedContentFileAttribute.cs
- QuaternionAnimationUsingKeyFrames.cs
- OdbcPermission.cs
- NTAccount.cs
- MenuBase.cs
- InputReport.cs
- EngineSiteSapi.cs
- WebPartsPersonalization.cs
- CaseExpr.cs
- WindowsNonControl.cs
- QilIterator.cs
- WebPartMenu.cs
- Point3DAnimationUsingKeyFrames.cs
- XmlDictionaryString.cs
- JoinTreeNode.cs
- DesignerWebPartChrome.cs
- RunInstallerAttribute.cs
- ReflectEventDescriptor.cs
- ExpressionBuilder.cs
- BufferModeSettings.cs
- NonClientArea.cs
- ResourceSet.cs
- DataSourceBooleanViewSchemaConverter.cs
- EditorPartDesigner.cs
- AsyncPostBackTrigger.cs
- ListGeneralPage.cs
- MemoryRecordBuffer.cs
- PropertyTabAttribute.cs
- HtmlMobileTextWriter.cs
- ZipIORawDataFileBlock.cs
- EventHandlerList.cs
- BufferedGraphicsManager.cs
- PropertyConverter.cs
- FlowDocumentReader.cs
- SelectionBorderGlyph.cs
- ListenDesigner.cs
- CssStyleCollection.cs
- TabControlAutomationPeer.cs
- ToolStripPanelCell.cs
- HebrewCalendar.cs
- HiddenField.cs
- MenuItemStyleCollectionEditor.cs
- AddInContractAttribute.cs
- RectConverter.cs
- FontStyle.cs
- ProjectionQueryOptionExpression.cs
- Queue.cs
- DataSourceXmlTextReader.cs
- ParserStack.cs
- ClientFormsAuthenticationCredentials.cs
- PrintEvent.cs
- TempFiles.cs
- RoleManagerModule.cs
- SchemaEntity.cs
- StructuralObject.cs
- ToolStripStatusLabel.cs
- MethodBody.cs
- SoapHeaderException.cs
- ModifyActivitiesPropertyDescriptor.cs
- XmlSchemaObjectCollection.cs
- CodeTypeMemberCollection.cs
- SchemaImporterExtension.cs
- LogSwitch.cs
- XmlAttributeAttribute.cs
- ListViewInsertionMark.cs
- PixelFormats.cs
- Binding.cs
- VirtualPath.cs
- UrlPath.cs
- WindowsToolbar.cs
- EdmPropertyAttribute.cs
- CheckBoxAutomationPeer.cs
- GridViewDeletedEventArgs.cs
- BindingContext.cs
- WebPartConnectionsCloseVerb.cs
- ChildDocumentBlock.cs
- InvalidProgramException.cs
- DataPagerFieldCollection.cs
- XmlSchemaCompilationSettings.cs
- RowSpanVector.cs
- DataSet.cs
- VectorAnimationUsingKeyFrames.cs
- AsymmetricAlgorithm.cs
- AttachedPropertyDescriptor.cs
- UnionCodeGroup.cs
- TextEditorContextMenu.cs
- TreeView.cs