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
- Camera.cs
- ListDesigner.cs
- RequestCachePolicy.cs
- controlskin.cs
- oledbmetadatacollectionnames.cs
- TimeSpanStorage.cs
- DocumentPaginator.cs
- FlowDocumentReaderAutomationPeer.cs
- JsonMessageEncoderFactory.cs
- BamlLocalizableResourceKey.cs
- PlatformCulture.cs
- MaskedTextBox.cs
- TemplateColumn.cs
- ToolStripTextBox.cs
- SqlDataSourceCustomCommandEditor.cs
- LinqDataSourceHelper.cs
- TimeManager.cs
- ListControl.cs
- AsyncPostBackTrigger.cs
- CopyOfAction.cs
- ContentFileHelper.cs
- ImageFormat.cs
- PolicyException.cs
- DetailsView.cs
- ColumnTypeConverter.cs
- TreeView.cs
- cookieexception.cs
- RegexCharClass.cs
- VirtualizingStackPanel.cs
- Point3D.cs
- SecurityDescriptor.cs
- XmlComment.cs
- MediaSystem.cs
- RbTree.cs
- HttpVersion.cs
- BitmapMetadataBlob.cs
- FrugalMap.cs
- SetStateEventArgs.cs
- RSAProtectedConfigurationProvider.cs
- MaskPropertyEditor.cs
- XmlSchemaDocumentation.cs
- VerificationException.cs
- ToolStripItemClickedEventArgs.cs
- XmlLoader.cs
- initElementDictionary.cs
- DBCommand.cs
- DelegatingConfigHost.cs
- FixedDocumentSequencePaginator.cs
- ThreadPool.cs
- MetadataUtilsSmi.cs
- GroupLabel.cs
- JapaneseCalendar.cs
- ConnectorRouter.cs
- FlowSwitchDesigner.xaml.cs
- RealizationDrawingContextWalker.cs
- DbSourceCommand.cs
- PackagePart.cs
- BasicViewGenerator.cs
- sqlmetadatafactory.cs
- QilTypeChecker.cs
- FlowDocumentView.cs
- InternalEnumValidatorAttribute.cs
- COM2TypeInfoProcessor.cs
- PieceDirectory.cs
- FilterableAttribute.cs
- SqlConnectionPoolGroupProviderInfo.cs
- PingOptions.cs
- NotFiniteNumberException.cs
- FormsAuthenticationEventArgs.cs
- ProcessManager.cs
- BinaryParser.cs
- HelpProvider.cs
- MexNamedPipeBindingCollectionElement.cs
- CommonDialog.cs
- EncryptRequest.cs
- DocumentStream.cs
- DockingAttribute.cs
- SnapLine.cs
- HwndKeyboardInputProvider.cs
- PathSegmentCollection.cs
- ColumnWidthChangingEvent.cs
- Form.cs
- SafeNativeMethodsCLR.cs
- DeferredElementTreeState.cs
- DataGridViewComboBoxColumn.cs
- FixedSOMTableCell.cs
- _ChunkParse.cs
- DataControlExtensions.cs
- FixedSOMContainer.cs
- HttpContext.cs
- NamedPipeChannelFactory.cs
- ExtensionSimplifierMarkupObject.cs
- ChangePassword.cs
- ItemCheckedEvent.cs
- CompilerGeneratedAttribute.cs
- StringCollection.cs
- ConfigViewGenerator.cs
- UInt32Storage.cs
- Transform.cs
- EntityProxyTypeInfo.cs