Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DLinq / Dlinq / SqlClient / Error.cs / 1305376 / Error.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace System.Data.Linq.SqlClient { ////// DLinq-providerbase-specific custom exception factory. /// internal partial class Error { ////// Exception thrown when a query cannot execute against a particular SQL server version. /// static internal Exception ExpressionNotSupportedForSqlServerVersion(Collectionreasons) { StringBuilder exceptionMessage = new StringBuilder(Strings.CannotTranslateExpressionToSql); foreach (string reason in reasons) { exceptionMessage.AppendLine(reason); } return new NotSupportedException(exceptionMessage.ToString()); } } } // 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.Collections.ObjectModel; using System.Text; namespace System.Data.Linq.SqlClient { /// /// DLinq-providerbase-specific custom exception factory. /// internal partial class Error { ////// Exception thrown when a query cannot execute against a particular SQL server version. /// static internal Exception ExpressionNotSupportedForSqlServerVersion(Collectionreasons) { StringBuilder exceptionMessage = new StringBuilder(Strings.CannotTranslateExpressionToSql); foreach (string reason in reasons) { exceptionMessage.AppendLine(reason); } return new NotSupportedException(exceptionMessage.ToString()); } } } // 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
- SystemIPAddressInformation.cs
- TreeNodeBindingDepthConverter.cs
- Utils.cs
- TagNameToTypeMapper.cs
- DocComment.cs
- IndexedWhereQueryOperator.cs
- CompiledRegexRunner.cs
- ImmutablePropertyDescriptorGridEntry.cs
- RightNameExpirationInfoPair.cs
- FormatterConverter.cs
- ObjectConverter.cs
- XmlAttributeProperties.cs
- TreeViewHitTestInfo.cs
- Compress.cs
- XamlWriter.cs
- ContextInformation.cs
- ListManagerBindingsCollection.cs
- Int64AnimationUsingKeyFrames.cs
- TransformConverter.cs
- ColumnMapTranslator.cs
- ListBoxItem.cs
- StdValidatorsAndConverters.cs
- PrintController.cs
- InfiniteIntConverter.cs
- Metafile.cs
- ImportCatalogPart.cs
- XPathScanner.cs
- RangeContentEnumerator.cs
- ExtensibleClassFactory.cs
- MulticastNotSupportedException.cs
- ResourceCategoryAttribute.cs
- XmlSchemaFacet.cs
- SettingsSection.cs
- XmlNamespaceManager.cs
- MachineKeySection.cs
- DetailsViewRow.cs
- RubberbandSelector.cs
- GlyphInfoList.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ArgumentException.cs
- TraceSection.cs
- Matrix.cs
- Number.cs
- TraceSwitch.cs
- MetadataArtifactLoader.cs
- ToolTipAutomationPeer.cs
- HasCopySemanticsAttribute.cs
- _FtpControlStream.cs
- QilFactory.cs
- AssemblyBuilderData.cs
- HoistedLocals.cs
- BookmarkResumptionRecord.cs
- TextRangeSerialization.cs
- XmlEventCache.cs
- DragEvent.cs
- WebBrowserSiteBase.cs
- EncodingConverter.cs
- CreateUserErrorEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- BamlLocalizationDictionary.cs
- PaperSource.cs
- BitSet.cs
- HtmlInputText.cs
- PackageStore.cs
- CompiledIdentityConstraint.cs
- LambdaCompiler.Binary.cs
- OracleException.cs
- CallbackValidator.cs
- WebZoneDesigner.cs
- ContainerVisual.cs
- ProbeMatches11.cs
- ScriptingSectionGroup.cs
- NativeWindow.cs
- TreeNodeMouseHoverEvent.cs
- WinFormsSpinner.cs
- WindowsFormsHelpers.cs
- SocketPermission.cs
- Membership.cs
- DataGridViewTextBoxColumn.cs
- RelationshipSet.cs
- EventProviderWriter.cs
- WebChannelFactory.cs
- MediaContextNotificationWindow.cs
- ChildChangedEventArgs.cs
- FloaterBaseParaClient.cs
- _NtlmClient.cs
- SqlExpressionNullability.cs
- RIPEMD160.cs
- DictionaryGlobals.cs
- ResXDataNode.cs
- Page.cs
- XmlHierarchyData.cs
- DataGridComboBoxColumn.cs
- AdCreatedEventArgs.cs
- OutputCacheSection.cs
- PropertyEmitter.cs
- GridViewColumn.cs
- QuaternionValueSerializer.cs
- PropertyEmitterBase.cs
- Thickness.cs