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
- DataSourceHelper.cs
- DesignerDataSchemaClass.cs
- AndCondition.cs
- ProviderUtil.cs
- SegmentInfo.cs
- X509CertificateStore.cs
- MailFileEditor.cs
- SubMenuStyleCollectionEditor.cs
- ChangeBlockUndoRecord.cs
- CompoundFileReference.cs
- GridViewColumnHeader.cs
- NotEqual.cs
- NullableDoubleSumAggregationOperator.cs
- Trace.cs
- DataGridViewColumnEventArgs.cs
- XmlEntityReference.cs
- ActiveXContainer.cs
- WindowsStatic.cs
- BitArray.cs
- SapiInterop.cs
- ToolboxComponentsCreatedEventArgs.cs
- SqlTypesSchemaImporter.cs
- ValidationResult.cs
- UserValidatedEventArgs.cs
- XamlReader.cs
- AdornerDecorator.cs
- AssemblyAttributesGoHere.cs
- HttpCookiesSection.cs
- ApplicationTrust.cs
- CacheAxisQuery.cs
- XPathPatternParser.cs
- MD5Cng.cs
- Evaluator.cs
- BufferAllocator.cs
- SynchronizationHandlesCodeDomSerializer.cs
- StatusBarItem.cs
- SqlClientWrapperSmiStream.cs
- StringPropertyBuilder.cs
- ObjectStorage.cs
- IsolatedStorage.cs
- WindowsStatusBar.cs
- LayoutEditorPart.cs
- CleanUpVirtualizedItemEventArgs.cs
- DbMetaDataFactory.cs
- XsltOutput.cs
- MulticastOption.cs
- SqlConnectionPoolProviderInfo.cs
- SynchronizationContext.cs
- CodeAssignStatement.cs
- SamlAuthorizationDecisionClaimResource.cs
- AsyncDataRequest.cs
- PropertyEntry.cs
- AvTraceFormat.cs
- Msec.cs
- IgnoreFileBuildProvider.cs
- DataGridPagerStyle.cs
- ISAPIWorkerRequest.cs
- BooleanSwitch.cs
- EntityProviderFactory.cs
- SettingsProperty.cs
- SpellerHighlightLayer.cs
- RecordManager.cs
- NullReferenceException.cs
- SystemIPv6InterfaceProperties.cs
- ConfigUtil.cs
- SmuggledIUnknown.cs
- IdentityReference.cs
- DataGrid.cs
- EventData.cs
- UICuesEvent.cs
- TimeEnumHelper.cs
- WSSecurityPolicy.cs
- AttributeUsageAttribute.cs
- NTAccount.cs
- DataGridPreparingCellForEditEventArgs.cs
- IxmlLineInfo.cs
- ViewManager.cs
- streamingZipPartStream.cs
- SecurityManager.cs
- DebugViewWriter.cs
- UnsafeNetInfoNativeMethods.cs
- HtmlLink.cs
- messageonlyhwndwrapper.cs
- ErrorWrapper.cs
- FormsAuthenticationUserCollection.cs
- ScriptRef.cs
- TableLayoutRowStyleCollection.cs
- MeasureData.cs
- RunClient.cs
- ListBoxAutomationPeer.cs
- ResourcePool.cs
- Utils.cs
- util.cs
- ToggleProviderWrapper.cs
- XmlSchemaAttribute.cs
- ErrorEventArgs.cs
- DesigntimeLicenseContextSerializer.cs
- OAVariantLib.cs
- DiscardableAttribute.cs
- EntityEntry.cs