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
- InstanceData.cs
- ContextMenu.cs
- EnterpriseServicesHelper.cs
- QuarticEase.cs
- Message.cs
- NavigationProgressEventArgs.cs
- DependencyPropertyChangedEventArgs.cs
- EntityDataSourceWrapperCollection.cs
- LinkedList.cs
- TableCellCollection.cs
- ListViewSelectEventArgs.cs
- EntityDataSourceDesigner.cs
- MediaPlayerState.cs
- Int32RectConverter.cs
- ThreadAttributes.cs
- HopperCache.cs
- XmlAttribute.cs
- RandomDelayQueuedSendsAsyncResult.cs
- WebBrowser.cs
- GifBitmapDecoder.cs
- ProxyAttribute.cs
- ProtocolsConfiguration.cs
- DataColumnPropertyDescriptor.cs
- ConfigurationErrorsException.cs
- PhonemeConverter.cs
- EntitySqlQueryCacheKey.cs
- LockedActivityGlyph.cs
- ContainerParagraph.cs
- ValidationPropertyAttribute.cs
- _ChunkParse.cs
- GradientSpreadMethodValidation.cs
- InvalidOleVariantTypeException.cs
- WSTrustFeb2005.cs
- NotifyInputEventArgs.cs
- DataPagerCommandEventArgs.cs
- InputQueueChannelAcceptor.cs
- DrawingServices.cs
- XomlCompilerResults.cs
- ChangeBlockUndoRecord.cs
- PointAnimationUsingPath.cs
- CalendarDayButton.cs
- CaseStatementProjectedSlot.cs
- basecomparevalidator.cs
- PassportAuthenticationModule.cs
- XmlElementAttributes.cs
- DataGridParentRows.cs
- ExpressionParser.cs
- ObjectViewQueryResultData.cs
- SystemWebCachingSectionGroup.cs
- SemanticResultKey.cs
- MergeFailedEvent.cs
- ContentElement.cs
- columnmapkeybuilder.cs
- BitmapInitialize.cs
- EndOfStreamException.cs
- ChtmlTextBoxAdapter.cs
- HttpTransportManager.cs
- BaseCodeDomTreeGenerator.cs
- XmlProcessingInstruction.cs
- TransactionManager.cs
- RoleManagerSection.cs
- _DomainName.cs
- GridViewSortEventArgs.cs
- XhtmlBasicPageAdapter.cs
- ConsoleTraceListener.cs
- ObfuscateAssemblyAttribute.cs
- XmlSecureResolver.cs
- ValuePatternIdentifiers.cs
- QuerySettings.cs
- AsyncSerializedWorker.cs
- AdRotator.cs
- Lookup.cs
- FormCollection.cs
- OdbcConnectionStringbuilder.cs
- SelectionProviderWrapper.cs
- CodeAttributeDeclaration.cs
- XamlStyleSerializer.cs
- HtmlDocument.cs
- DynamicRenderer.cs
- BindableAttribute.cs
- Accessible.cs
- DataGridCell.cs
- PackagingUtilities.cs
- SiblingIterators.cs
- SpnegoTokenProvider.cs
- ServiceDescription.cs
- ImageDrawing.cs
- ThreadStaticAttribute.cs
- FragmentQueryKB.cs
- SqlProviderServices.cs
- JsonCollectionDataContract.cs
- BindingExpression.cs
- EditingMode.cs
- AccessText.cs
- RefreshInfo.cs
- StandardCommands.cs
- LabelLiteral.cs
- StateMachineDesignerPaint.cs
- PackageRelationshipSelector.cs
- TypeToken.cs