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
- Error.cs
- ApplicationGesture.cs
- InvalidPropValue.cs
- TextEditorParagraphs.cs
- XmlNode.cs
- KeyValuePairs.cs
- DataControlFieldCell.cs
- precedingquery.cs
- EmbeddedMailObjectsCollection.cs
- LineUtil.cs
- controlskin.cs
- MultiSelector.cs
- DeferredBinaryDeserializerExtension.cs
- ProgressPage.cs
- DataGridViewColumnTypeEditor.cs
- DBSchemaRow.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- _NetRes.cs
- BindingElement.cs
- Ipv6Element.cs
- CLRBindingWorker.cs
- URL.cs
- MatrixIndependentAnimationStorage.cs
- ResourceCategoryAttribute.cs
- Variable.cs
- XPathDocumentIterator.cs
- basecomparevalidator.cs
- HtmlTextArea.cs
- querybuilder.cs
- X509ChainElement.cs
- UnsafeNativeMethodsCLR.cs
- DataPagerFieldItem.cs
- DBConnectionString.cs
- X509CertificateCollection.cs
- Parameter.cs
- EventDrivenDesigner.cs
- DesignerMetadata.cs
- QuotaThrottle.cs
- TreeNodeMouseHoverEvent.cs
- handlecollector.cs
- WebMessageEncodingBindingElement.cs
- DBCommandBuilder.cs
- ToolBarButtonClickEvent.cs
- ContainerControl.cs
- DbParameterHelper.cs
- CodeCommentStatement.cs
- WindowHideOrCloseTracker.cs
- TextTabProperties.cs
- hresults.cs
- GC.cs
- CookieProtection.cs
- BindUriHelper.cs
- Expression.cs
- CodeDirectionExpression.cs
- StringFunctions.cs
- TextBox.cs
- MediaTimeline.cs
- StreamWriter.cs
- DrawingContextDrawingContextWalker.cs
- KnownBoxes.cs
- ICspAsymmetricAlgorithm.cs
- TreeViewItemAutomationPeer.cs
- PanelContainerDesigner.cs
- SiteMapHierarchicalDataSourceView.cs
- Typeface.cs
- ApplicationDirectory.cs
- Partitioner.cs
- ResourcePermissionBase.cs
- IncomingWebResponseContext.cs
- AnchoredBlock.cs
- DynamicActionMessageFilter.cs
- XsltQilFactory.cs
- SocketCache.cs
- SchemaElement.cs
- LinqDataSourceEditData.cs
- FontWeightConverter.cs
- Exceptions.cs
- ListItem.cs
- XamlParser.cs
- XPathBuilder.cs
- SmtpReplyReaderFactory.cs
- PersonalizationStateInfo.cs
- PersistChildrenAttribute.cs
- TextPattern.cs
- LogWriteRestartAreaState.cs
- CodeThrowExceptionStatement.cs
- InkPresenter.cs
- SetUserPreferenceRequest.cs
- AttributeAction.cs
- ProtocolsConfiguration.cs
- EmbeddedMailObject.cs
- Sql8ConformanceChecker.cs
- DocumentsTrace.cs
- ConstraintCollection.cs
- PartialCachingAttribute.cs
- TrackingStringDictionary.cs
- Size3DValueSerializer.cs
- AppDomainManager.cs
- LongTypeConverter.cs
- HttpProfileBase.cs