Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Structures / CellLabel.cs / 2 / 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. //---------------------------------------------------------------------- //// 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
- CodeExporter.cs
- CacheMode.cs
- FtpRequestCacheValidator.cs
- OTFRasterizer.cs
- TdsParser.cs
- FieldTemplateFactory.cs
- WebServiceErrorEvent.cs
- EntityDataSourceUtil.cs
- DataSourceListEditor.cs
- securitycriticaldata.cs
- DeferrableContent.cs
- AdornerHitTestResult.cs
- LinkDesigner.cs
- PeerInputChannel.cs
- Part.cs
- OleDbRowUpdatingEvent.cs
- MobileControlBuilder.cs
- BinaryCommonClasses.cs
- __Error.cs
- ModifierKeysValueSerializer.cs
- ExplicitDiscriminatorMap.cs
- SiteMapProvider.cs
- manifestimages.cs
- FixedPage.cs
- ObjectConverter.cs
- DocumentOrderQuery.cs
- CodeGroup.cs
- ClientFactory.cs
- MatrixTransform.cs
- EventRecordWrittenEventArgs.cs
- OutKeywords.cs
- DataGridRelationshipRow.cs
- Point3DCollectionConverter.cs
- DockEditor.cs
- DocumentsTrace.cs
- BitmapDownload.cs
- IUnknownConstantAttribute.cs
- OracleParameterCollection.cs
- StackBuilderSink.cs
- SspiSafeHandles.cs
- PropertyOrder.cs
- TypeElement.cs
- SeekStoryboard.cs
- DependencyProperty.cs
- HttpServerVarsCollection.cs
- DocumentApplicationJournalEntry.cs
- ChangeConflicts.cs
- WebBrowserContainer.cs
- _ShellExpression.cs
- COMException.cs
- EventArgs.cs
- Effect.cs
- CachedTypeface.cs
- IdentityNotMappedException.cs
- EntityProviderServices.cs
- AssemblyHash.cs
- SafeHandles.cs
- StringOutput.cs
- LabelLiteral.cs
- UnhandledExceptionEventArgs.cs
- SecUtil.cs
- SplineKeyFrames.cs
- XmlSchemaGroup.cs
- SByteStorage.cs
- SerializationFieldInfo.cs
- CustomAttributeSerializer.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- IsolatedStorageFile.cs
- ConstrainedDataObject.cs
- VariantWrapper.cs
- HttpDictionary.cs
- IdentityReference.cs
- SimpleWebHandlerParser.cs
- TriggerActionCollection.cs
- TemplateXamlTreeBuilder.cs
- SubtreeProcessor.cs
- ZipPackage.cs
- TemplateControlCodeDomTreeGenerator.cs
- ObjectConverter.cs
- exports.cs
- CqlLexer.cs
- DelegatingConfigHost.cs
- SelectedPathEditor.cs
- MatrixTransform.cs
- RegisteredExpandoAttribute.cs
- HtmlControlDesigner.cs
- ProgressBarHighlightConverter.cs
- AnnotationObservableCollection.cs
- BaseParaClient.cs
- CompileLiteralTextParser.cs
- CodeCommentStatement.cs
- EventManager.cs
- ListViewInsertedEventArgs.cs
- GlobalizationAssembly.cs
- XhtmlBasicLiteralTextAdapter.cs
- ImageCreator.cs
- _ListenerRequestStream.cs
- ILGenerator.cs
- RawStylusInputCustomDataList.cs
- SqlDataSourceCommandEventArgs.cs