Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / CellLabel.cs / 1305376 / CellLabel.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Data.Common.Utils; namespace System.Data.Mapping.ViewGeneration.Structures { // A class that abstracts the notion of identifying table mapping // fragments or cells, e.g., line numbers, etc internal class CellLabel { #region Constructors ////// Copy Constructor /// internal CellLabel(CellLabel source) { this.m_startLineNumber = source.m_startLineNumber; this.m_startLinePosition = source.m_startLinePosition; this.m_sourceLocation = source.m_sourceLocation; } internal CellLabel(StorageMappingFragment fragmentInfo) : this(fragmentInfo.StartLineNumber, fragmentInfo.StartLinePosition, fragmentInfo.SourceLocation) { } internal CellLabel(int startLineNumber, int startLinePosition, string sourceLocation) { m_startLineNumber = startLineNumber; m_startLinePosition = startLinePosition; m_sourceLocation = sourceLocation; } #endregion #region Fields private int m_startLineNumber; private int m_startLinePosition; private string m_sourceLocation; #endregion #region Properties internal int StartLineNumber { get { return m_startLineNumber; } } internal int StartLinePosition { get { return m_startLinePosition; } } internal string SourceLocation { get { return m_sourceLocation; } } #endregion } } // 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
- DataRelationPropertyDescriptor.cs
- EntityDataSourceChangedEventArgs.cs
- AppSecurityManager.cs
- Matrix3DValueSerializer.cs
- Helper.cs
- ApplicationActivator.cs
- X509CertificateInitiatorServiceCredential.cs
- SynchronizedInputHelper.cs
- ExtensibleClassFactory.cs
- ContentOnlyMessage.cs
- MethodToken.cs
- WebPartConnectionsEventArgs.cs
- CellConstant.cs
- RuntimeCompatibilityAttribute.cs
- DesignTimeData.cs
- Repeater.cs
- ProcessHostFactoryHelper.cs
- FixedHyperLink.cs
- ContextStaticAttribute.cs
- BamlWriter.cs
- ActiveXHelper.cs
- HandleRef.cs
- Stack.cs
- DynamicRendererThreadManager.cs
- ListViewItemSelectionChangedEvent.cs
- EntityTransaction.cs
- SafeLibraryHandle.cs
- MembershipAdapter.cs
- Lease.cs
- Int32EqualityComparer.cs
- XamlBuildTaskServices.cs
- Enum.cs
- OpenTypeLayoutCache.cs
- DataViewSetting.cs
- StatusBarItem.cs
- LinkLabelLinkClickedEvent.cs
- StreamInfo.cs
- SqlDataSourceQuery.cs
- AsyncOperationManager.cs
- ThemeDirectoryCompiler.cs
- D3DImage.cs
- LinkedList.cs
- SQLSingleStorage.cs
- NavigationWindowAutomationPeer.cs
- BitmapInitialize.cs
- RotateTransform.cs
- AndCondition.cs
- Number.cs
- CatalogZone.cs
- SqlMetaData.cs
- SerializationEventsCache.cs
- DataViewListener.cs
- TypeSystemProvider.cs
- HyperLinkField.cs
- GridSplitter.cs
- ContentOperations.cs
- RegistrationServices.cs
- streamingZipPartStream.cs
- RemotingAttributes.cs
- SortQuery.cs
- ScriptControlDescriptor.cs
- ImageFormatConverter.cs
- SqlUDTStorage.cs
- SoapTransportImporter.cs
- ToolStripDropDownItem.cs
- ThrowHelper.cs
- MultiSelectRootGridEntry.cs
- XmlAttributeAttribute.cs
- base64Transforms.cs
- SymbolMethod.cs
- ScriptModule.cs
- CrossSiteScriptingValidation.cs
- PathSegmentCollection.cs
- HMACSHA256.cs
- MapPathBasedVirtualPathProvider.cs
- FieldNameLookup.cs
- DrawingContextWalker.cs
- TypedCompletedAsyncResult.cs
- ArrayWithOffset.cs
- NativeMethods.cs
- LinkTarget.cs
- WindowsGraphicsCacheManager.cs
- Int64Storage.cs
- DocumentScope.cs
- DesignerVerb.cs
- NullableFloatSumAggregationOperator.cs
- Walker.cs
- ObjectKeyFrameCollection.cs
- Compilation.cs
- VisualBasicDesignerHelper.cs
- BehaviorService.cs
- TextSchema.cs
- TextParagraphCache.cs
- ToggleProviderWrapper.cs
- UIElementHelper.cs
- SiteMapNode.cs
- AppDomainProtocolHandler.cs
- BasicExpandProvider.cs
- ThreadStaticAttribute.cs
- MimeWriter.cs