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
- ReadingWritingEntityEventArgs.cs
- HttpClientCertificate.cs
- DBCommandBuilder.cs
- FileSecurity.cs
- _SafeNetHandles.cs
- BindingObserver.cs
- MulticastDelegate.cs
- RichTextBox.cs
- InterleavedZipPartStream.cs
- BaseTemplateParser.cs
- AccessedThroughPropertyAttribute.cs
- ContainerControlDesigner.cs
- ScriptControlDescriptor.cs
- NaturalLanguageHyphenator.cs
- ServerProtocol.cs
- ChtmlImageAdapter.cs
- LabelDesigner.cs
- QuestionEventArgs.cs
- SqlInternalConnectionTds.cs
- SchemaObjectWriter.cs
- PropertyConverter.cs
- WorkflowElementDialog.cs
- ZipIOCentralDirectoryBlock.cs
- SemaphoreFullException.cs
- LoginName.cs
- webeventbuffer.cs
- TdsParameterSetter.cs
- _WinHttpWebProxyDataBuilder.cs
- DbConnectionOptions.cs
- WorkflowDurableInstance.cs
- HttpHeaderCollection.cs
- HttpRuntime.cs
- NameTable.cs
- FontWeightConverter.cs
- DBParameter.cs
- Utility.cs
- FontDifferentiator.cs
- SafeBitVector32.cs
- Accessors.cs
- dataSvcMapFileLoader.cs
- FieldToken.cs
- TabItemWrapperAutomationPeer.cs
- VoiceSynthesis.cs
- RichTextBoxConstants.cs
- LessThan.cs
- BaseInfoTable.cs
- DifferencingCollection.cs
- RefreshEventArgs.cs
- TemplateBindingExpressionConverter.cs
- XmlWhitespace.cs
- BlockExpression.cs
- httpstaticobjectscollection.cs
- UInt32Converter.cs
- ExplicitDiscriminatorMap.cs
- PrintingPermission.cs
- WindowsIdentity.cs
- XmlDownloadManager.cs
- Size.cs
- UInt32.cs
- SafeSecurityHelper.cs
- __Filters.cs
- CodeSnippetCompileUnit.cs
- ToolStripProgressBar.cs
- StateMachine.cs
- HttpEncoderUtility.cs
- ScrollItemProviderWrapper.cs
- Splitter.cs
- GridViewPageEventArgs.cs
- BaseDataBoundControlDesigner.cs
- AppliedDeviceFiltersDialog.cs
- AsymmetricKeyExchangeDeformatter.cs
- ConnectionProviderAttribute.cs
- ExpressionParser.cs
- CommandLibraryHelper.cs
- EntityProviderServices.cs
- MSHTMLHostUtil.cs
- CompilerWrapper.cs
- ObjectIDGenerator.cs
- SamlAudienceRestrictionCondition.cs
- DynamicMethod.cs
- IndentTextWriter.cs
- OrderByQueryOptionExpression.cs
- OpacityConverter.cs
- TextBoxAutoCompleteSourceConverter.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- VirtualPathUtility.cs
- ConvertEvent.cs
- ToolStripOverflow.cs
- DesignerProperties.cs
- CustomErrorsSectionWrapper.cs
- WindowsRichEditRange.cs
- OrthographicCamera.cs
- Highlights.cs
- ScriptControlDescriptor.cs
- FrugalList.cs
- HttpResponseHeader.cs
- ObjectPersistData.cs
- MimeMapping.cs
- ApplicationContext.cs
- CacheHelper.cs