Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / System / data / design / DataAccessor.cs / 1 / DataAccessor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All Rights Reserved. // Information Contained Herein is Proprietary and Confidential. // //----------------------------------------------------------------------------- namespace System.Data.Design { using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Reflection; ////// This is the design time object for the so-called "DataAccessor" /// in the DataSource designer delta spec. /// To make the minimum code change(e.g. persistence, command routing), /// we will use the existing code model for DbTable and only expose the necessary /// properties in this class. /// internal class DataAccessor : DataSourceComponent { private DesignTable designTable; internal const string DEFAULT_BASE_CLASS = "System.ComponentModel.Component"; internal const string DEFAULT_NAME_POSTFIX = "TableAdapter"; ////// DataAccessor is always live with a designTable /// /// public DataAccessor(DesignTable designTable){ Debug.Assert(designTable != null, "Need to pass in designTable"); if (designTable == null) { throw new ArgumentNullException("DesignTable"); } this.designTable = designTable; } internal DesignTable DesignTable { get { Debug.Assert(this.designTable != null, "Should have a DesignerTable for DataAccessor"); return designTable; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlXmlStorage.cs
- ArraySet.cs
- AvTraceDetails.cs
- DataSourceExpression.cs
- MethodBuilder.cs
- VectorAnimation.cs
- RtfControls.cs
- DPCustomTypeDescriptor.cs
- DataTableClearEvent.cs
- PhysicalAddress.cs
- XmlNamespaceDeclarationsAttribute.cs
- CodeSnippetStatement.cs
- TypeForwardedFromAttribute.cs
- PageCatalogPart.cs
- RowSpanVector.cs
- NameScopePropertyAttribute.cs
- OleDbWrapper.cs
- ListBoxItemWrapperAutomationPeer.cs
- TTSEngineProxy.cs
- AspNetSynchronizationContext.cs
- XslTransform.cs
- NameTable.cs
- Switch.cs
- FileSecurity.cs
- _KerberosClient.cs
- HebrewCalendar.cs
- ReadOnlyDataSourceView.cs
- WizardStepBase.cs
- UserUseLicenseDictionaryLoader.cs
- MatrixStack.cs
- WhitespaceRuleLookup.cs
- SharedPerformanceCounter.cs
- MSHTMLHost.cs
- ToggleButton.cs
- StrokeCollectionDefaultValueFactory.cs
- Frame.cs
- ReceiveCompletedEventArgs.cs
- DataControlCommands.cs
- LocatorBase.cs
- RemoteX509AsymmetricSecurityKey.cs
- ISAPIWorkerRequest.cs
- CryptoApi.cs
- PointLightBase.cs
- DataGridCommandEventArgs.cs
- VSWCFServiceContractGenerator.cs
- AsyncCompletedEventArgs.cs
- ExpressionPrefixAttribute.cs
- SurrogateEncoder.cs
- AutomationAttributeInfo.cs
- SystemMulticastIPAddressInformation.cs
- RenderingEventArgs.cs
- PassportAuthenticationEventArgs.cs
- MsmqElementBase.cs
- FixedDSBuilder.cs
- ResourceReferenceExpressionConverter.cs
- DPTypeDescriptorContext.cs
- isolationinterop.cs
- DataRowCollection.cs
- DynamicActivityXamlReader.cs
- Quaternion.cs
- WorkflowServiceBuildProvider.cs
- wmiprovider.cs
- EntityDataSourceWizardForm.cs
- infer.cs
- recordstatescratchpad.cs
- SystemDropShadowChrome.cs
- RegionIterator.cs
- FormView.cs
- TableLayoutColumnStyleCollection.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TextCompositionEventArgs.cs
- PaperSize.cs
- TraceShell.cs
- TemplateXamlTreeBuilder.cs
- PlaceHolder.cs
- HttpStreamMessageEncoderFactory.cs
- DataGridTemplateColumn.cs
- SendActivity.cs
- RegexFCD.cs
- TdsParserSessionPool.cs
- ParameterDataSourceExpression.cs
- IOException.cs
- RequestCachingSection.cs
- FamilyMap.cs
- LateBoundBitmapDecoder.cs
- XmlSiteMapProvider.cs
- SchemaMapping.cs
- DataStreamFromComStream.cs
- BevelBitmapEffect.cs
- MetadataArtifactLoaderFile.cs
- ResXBuildProvider.cs
- PackageRelationshipSelector.cs
- SingleObjectCollection.cs
- CodeFieldReferenceExpression.cs
- TableLayoutSettings.cs
- TransactionTable.cs
- TableLayoutCellPaintEventArgs.cs
- CqlWriter.cs
- ACL.cs
- ObfuscateAssemblyAttribute.cs