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
- AuthenticationSection.cs
- InputLanguage.cs
- HtmlTableCell.cs
- EventLog.cs
- ConfigurationSectionGroup.cs
- ErrorsHelper.cs
- ISFTagAndGuidCache.cs
- MetadataFile.cs
- PropertyChangingEventArgs.cs
- ReadOnlyTernaryTree.cs
- FlagPanel.cs
- Models.cs
- MouseWheelEventArgs.cs
- SigningCredentials.cs
- RequestCache.cs
- SqlTrackingWorkflowInstance.cs
- MeshGeometry3D.cs
- BaseDataList.cs
- WindowsFormsEditorServiceHelper.cs
- ContentDisposition.cs
- SchemaEntity.cs
- GPPOINT.cs
- X509Certificate.cs
- BasicCellRelation.cs
- IteratorDescriptor.cs
- PropertyInfoSet.cs
- FileFormatException.cs
- MarkupProperty.cs
- ReadContentAsBinaryHelper.cs
- Pen.cs
- DataObjectAttribute.cs
- WindowPatternIdentifiers.cs
- AttachmentCollection.cs
- WorkflowInlining.cs
- UpDownBaseDesigner.cs
- BindingContext.cs
- SelectedPathEditor.cs
- ToolStripSplitStackLayout.cs
- CatalogPartChrome.cs
- RIPEMD160Managed.cs
- UnsafeNativeMethods.cs
- XmlReaderSettings.cs
- NameScopePropertyAttribute.cs
- CommandField.cs
- ReadOnlyDictionary.cs
- initElementDictionary.cs
- Keyboard.cs
- SByte.cs
- RawStylusInputReport.cs
- Site.cs
- ColorIndependentAnimationStorage.cs
- BoundsDrawingContextWalker.cs
- AQNBuilder.cs
- Control.cs
- GridViewEditEventArgs.cs
- TextSchema.cs
- HandoffBehavior.cs
- CookieHandler.cs
- PageBuildProvider.cs
- XamlRtfConverter.cs
- InheritedPropertyChangedEventArgs.cs
- UriTemplateTable.cs
- ExpressionVisitor.cs
- PolicyValidationException.cs
- XPathConvert.cs
- TaskFormBase.cs
- ServiceModelActivity.cs
- DictionarySectionHandler.cs
- ChangePassword.cs
- HierarchicalDataTemplate.cs
- ProfileSection.cs
- DataPager.cs
- SystemUdpStatistics.cs
- ErrorBehavior.cs
- XmlILAnnotation.cs
- CapabilitiesState.cs
- RijndaelManaged.cs
- FunctionOverloadResolver.cs
- ProcessProtocolHandler.cs
- OutputCacheSettings.cs
- CssStyleCollection.cs
- PasswordTextContainer.cs
- MetadataArtifactLoaderComposite.cs
- InkCanvas.cs
- XmlElementList.cs
- StringHandle.cs
- OdbcCommandBuilder.cs
- SqlCaseSimplifier.cs
- Int32Rect.cs
- NonVisualControlAttribute.cs
- CookieProtection.cs
- CompilerLocalReference.cs
- SQLMembershipProvider.cs
- TemplateContentLoader.cs
- ContractInferenceHelper.cs
- Automation.cs
- NetworkInformationException.cs
- ActiveXHost.cs
- ToolboxItemSnapLineBehavior.cs
- ReadOnlyPropertyMetadata.cs