Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DLinq / Dlinq / SqlClient / Common / SqlServer2KCompatibilityAnnotation.cs / 1 / SqlServer2KCompatibilityAnnotation.cs
using System; using System.Collections.Generic; using System.Text; namespace System.Data.Linq.SqlClient { ////// Annotation which indicates that the given node will cause a compatibility problem /// for the indicated set of providers. /// internal class SqlServerCompatibilityAnnotation : SqlNodeAnnotation { SqlProvider.ProviderMode[] providers; ////// Constructor /// /// The compatibility message. /// The set of providers this compatibility issue applies to. internal SqlServerCompatibilityAnnotation(string message, params SqlProvider.ProviderMode[] providers) : base(message) { this.providers = providers; } ////// Returns true if this annotation applies to the specified provider. /// internal bool AppliesTo(SqlProvider.ProviderMode provider) { foreach (SqlProvider.ProviderMode p in providers) { if (p == provider) { return true; } } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Text; namespace System.Data.Linq.SqlClient { ////// Annotation which indicates that the given node will cause a compatibility problem /// for the indicated set of providers. /// internal class SqlServerCompatibilityAnnotation : SqlNodeAnnotation { SqlProvider.ProviderMode[] providers; ////// Constructor /// /// The compatibility message. /// The set of providers this compatibility issue applies to. internal SqlServerCompatibilityAnnotation(string message, params SqlProvider.ProviderMode[] providers) : base(message) { this.providers = providers; } ////// Returns true if this annotation applies to the specified provider. /// internal bool AppliesTo(SqlProvider.ProviderMode provider) { foreach (SqlProvider.ProviderMode p in providers) { if (p == provider) { return true; } } return false; } } } // 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
- TransformerConfigurationWizardBase.cs
- EventProviderWriter.cs
- CustomTrackingQuery.cs
- BindingCollection.cs
- XmlSignatureProperties.cs
- ResXBuildProvider.cs
- QuaternionAnimationUsingKeyFrames.cs
- EraserBehavior.cs
- MethodBuilderInstantiation.cs
- GlyphTypeface.cs
- SchemaNotation.cs
- VerificationAttribute.cs
- CryptoStream.cs
- CacheMemory.cs
- Canvas.cs
- TextParagraphProperties.cs
- AttachInfo.cs
- DeferredTextReference.cs
- SelectorAutomationPeer.cs
- SoapCodeExporter.cs
- SqlRecordBuffer.cs
- WindowsFormsLinkLabel.cs
- SortAction.cs
- Paragraph.cs
- ProxyHwnd.cs
- XmlUtil.cs
- IgnoreSection.cs
- XmlSerializableReader.cs
- Aes.cs
- Msec.cs
- odbcmetadatacollectionnames.cs
- TranslateTransform3D.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- SamlAttribute.cs
- _HeaderInfoTable.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- CompositeControl.cs
- GeneralTransformGroup.cs
- TableRow.cs
- KeyedCollection.cs
- XmlCodeExporter.cs
- XamlVector3DCollectionSerializer.cs
- DCSafeHandle.cs
- DateTimeFormat.cs
- BindStream.cs
- PackageProperties.cs
- CalendarButton.cs
- DataGridHeaderBorder.cs
- TriggerAction.cs
- HybridWebProxyFinder.cs
- IDictionary.cs
- TextTreeText.cs
- ImportFileRequest.cs
- ImageDrawing.cs
- ConstNode.cs
- MergeFilterQuery.cs
- ProcessHostMapPath.cs
- BaseDataList.cs
- Location.cs
- ProviderUtil.cs
- XmlSchemaSimpleContentRestriction.cs
- CodeGotoStatement.cs
- RequestCacheValidator.cs
- PeerApplication.cs
- CodeAttributeDeclaration.cs
- TextTreeRootTextBlock.cs
- StrongTypingException.cs
- PackWebRequestFactory.cs
- MatrixCamera.cs
- WindowsIdentity.cs
- PtsHost.cs
- ToolStripSplitStackLayout.cs
- SmiEventSink_Default.cs
- MultiByteCodec.cs
- Tile.cs
- SecurityContextKeyIdentifierClause.cs
- TraceContextEventArgs.cs
- XmlMapping.cs
- ClientSideProviderDescription.cs
- UnsafeNativeMethods.cs
- Converter.cs
- Graph.cs
- TraceHwndHost.cs
- CodeParameterDeclarationExpressionCollection.cs
- EditorBrowsableAttribute.cs
- XMLUtil.cs
- BevelBitmapEffect.cs
- ValidatorCollection.cs
- StorageEndPropertyMapping.cs
- BuildTopDownAttribute.cs
- _ServiceNameStore.cs
- WebDescriptionAttribute.cs
- httpstaticobjectscollection.cs
- MetadataException.cs
- LicFileLicenseProvider.cs
- PassportAuthentication.cs
- XmlDomTextWriter.cs
- OnOperation.cs
- Int32CollectionConverter.cs
- TextSelectionHelper.cs