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
- ComponentFactoryHelpers.cs
- DataProtection.cs
- MsmqHostedTransportConfiguration.cs
- SqlNotificationRequest.cs
- XmlWrappingWriter.cs
- DataGridBoolColumn.cs
- DataKey.cs
- WebBrowser.cs
- InvokeDelegate.cs
- MenuItemBindingCollection.cs
- TabControlCancelEvent.cs
- ImageEditor.cs
- _AutoWebProxyScriptHelper.cs
- Camera.cs
- XmlSchemaAnnotated.cs
- ResizeBehavior.cs
- DesignerTransactionCloseEvent.cs
- TextContainer.cs
- XhtmlConformanceSection.cs
- String.cs
- DistributedTransactionPermission.cs
- DatagridviewDisplayedBandsData.cs
- SelectionItemPattern.cs
- MediaPlayer.cs
- ObjectDisposedException.cs
- FixedSOMTextRun.cs
- HttpDebugHandler.cs
- CurrentChangingEventManager.cs
- GACIdentityPermission.cs
- Mouse.cs
- input.cs
- Evaluator.cs
- DrawingContextWalker.cs
- BindingExpressionUncommonField.cs
- BindingListCollectionView.cs
- XamlVector3DCollectionSerializer.cs
- CompilerTypeWithParams.cs
- SqlTriggerContext.cs
- OracleInfoMessageEventArgs.cs
- StaticContext.cs
- HwndMouseInputProvider.cs
- EntityDataSourceMemberPath.cs
- FixedSOMLineRanges.cs
- ExpressionNormalizer.cs
- ActivityMarkupSerializer.cs
- Attributes.cs
- MachineKeySection.cs
- PageHandlerFactory.cs
- ContractInferenceHelper.cs
- KnownBoxes.cs
- ResourcesChangeInfo.cs
- ObjectListShowCommandsEventArgs.cs
- ETagAttribute.cs
- ShapingWorkspace.cs
- QilVisitor.cs
- FacetValues.cs
- RuntimeWrappedException.cs
- Fonts.cs
- CookieHandler.cs
- CodeCastExpression.cs
- SocketPermission.cs
- ValidationRule.cs
- DataObject.cs
- DictionaryManager.cs
- Vector.cs
- SizeValueSerializer.cs
- ButtonBase.cs
- ThreadExceptionDialog.cs
- CompositeFontParser.cs
- OleAutBinder.cs
- _UriTypeConverter.cs
- DocumentViewerConstants.cs
- PngBitmapDecoder.cs
- FontCacheLogic.cs
- CollectionViewGroupInternal.cs
- InvalidWMPVersionException.cs
- DragDrop.cs
- ExponentialEase.cs
- DataGridState.cs
- PersonalizationStateInfoCollection.cs
- CqlIdentifiers.cs
- EntityTypeEmitter.cs
- BasePattern.cs
- DataGridViewRowsRemovedEventArgs.cs
- cookie.cs
- DataListItemEventArgs.cs
- PersonalizationAdministration.cs
- DtdParser.cs
- Schema.cs
- Schema.cs
- GeneratedView.cs
- AnimationClock.cs
- EdmRelationshipRoleAttribute.cs
- ColorMap.cs
- SecurityContext.cs
- SqlParameterCollection.cs
- QueryPageSettingsEventArgs.cs
- TemplateParser.cs
- IIS7WorkerRequest.cs
- OleDbConnectionFactory.cs