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
- OdbcConnectionHandle.cs
- EntityDataSourceMemberPath.cs
- CaseKeyBox.ViewModel.cs
- _HeaderInfoTable.cs
- QueryTaskGroupState.cs
- DataRowView.cs
- CalendarDay.cs
- BoundColumn.cs
- ReadonlyMessageFilter.cs
- GiveFeedbackEvent.cs
- System.Data_BID.cs
- ToolStripDropDownButton.cs
- ToolTip.cs
- XmlAttributeHolder.cs
- RegexTree.cs
- RepeaterItemEventArgs.cs
- TransformerInfoCollection.cs
- FileDialogPermission.cs
- TextContainerChangeEventArgs.cs
- WebPartConnectionsConfigureVerb.cs
- SecurityKeyType.cs
- MetaModel.cs
- DispatcherExceptionFilterEventArgs.cs
- TreeNodeCollection.cs
- Publisher.cs
- EventSinkHelperWriter.cs
- SqlDataSourceFilteringEventArgs.cs
- ASCIIEncoding.cs
- ColumnReorderedEventArgs.cs
- PointConverter.cs
- SettingsPropertyNotFoundException.cs
- ResourceExpressionEditor.cs
- SecurityDescriptor.cs
- SafePointer.cs
- TextLine.cs
- NamespaceList.cs
- ISAPIRuntime.cs
- ListenerSingletonConnectionReader.cs
- ApplicationProxyInternal.cs
- HandleExceptionArgs.cs
- DecimalKeyFrameCollection.cs
- BamlTreeNode.cs
- HealthMonitoringSection.cs
- DataGridColumnReorderingEventArgs.cs
- DateTimeFormat.cs
- FieldNameLookup.cs
- RemotingServices.cs
- Debug.cs
- HttpWebResponse.cs
- RenderData.cs
- TextTreeUndo.cs
- TypeDefinition.cs
- FontStyles.cs
- XmlMemberMapping.cs
- SoapConverter.cs
- UTF32Encoding.cs
- _AuthenticationState.cs
- xmlsaver.cs
- SystemException.cs
- MethodToken.cs
- PolicyLevel.cs
- MimeFormatExtensions.cs
- BamlLocalizabilityResolver.cs
- XmlnsCompatibleWithAttribute.cs
- StyleCollection.cs
- TimelineCollection.cs
- ContextMenuStripGroupCollection.cs
- ViewStateAttachedPropertyFeature.cs
- StorageEntitySetMapping.cs
- baseaxisquery.cs
- EventsTab.cs
- DataGridTextBoxColumn.cs
- SymmetricCryptoHandle.cs
- UnsafeNativeMethodsMilCoreApi.cs
- GeneratedCodeAttribute.cs
- ItemCheckedEvent.cs
- OleDbWrapper.cs
- TreeNodeBindingCollection.cs
- FormViewAutoFormat.cs
- TrackingWorkflowEventArgs.cs
- SchemaComplexType.cs
- CompiledQuery.cs
- XmlWhitespace.cs
- WebServiceEnumData.cs
- ContextMarshalException.cs
- coordinatorfactory.cs
- VisualStyleElement.cs
- BookmarkList.cs
- EventItfInfo.cs
- Label.cs
- KeyValuePair.cs
- XsdBuildProvider.cs
- GeneralTransform3DCollection.cs
- UrlRoutingHandler.cs
- SafeEventLogWriteHandle.cs
- SlipBehavior.cs
- Stopwatch.cs
- httpstaticobjectscollection.cs
- KeyGesture.cs
- SendDesigner.xaml.cs