Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DLinq / Dlinq / SqlClient / Error.cs / 1 / 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
- InkCanvas.cs
- ReadOnlyCollection.cs
- QuaternionAnimation.cs
- WpfXamlLoader.cs
- PropertyManager.cs
- AudioSignalProblemOccurredEventArgs.cs
- IncrementalCompileAnalyzer.cs
- EventsTab.cs
- XmlAttributeAttribute.cs
- X509Certificate2Collection.cs
- SplashScreenNativeMethods.cs
- LZCodec.cs
- ColumnMapCopier.cs
- Debug.cs
- ConsumerConnectionPointCollection.cs
- WindowsTab.cs
- ExpressionCopier.cs
- DataGridViewColumn.cs
- SortDescriptionCollection.cs
- Transform.cs
- OletxDependentTransaction.cs
- Rotation3DAnimation.cs
- compensatingcollection.cs
- FragmentQueryKB.cs
- HttpWrapper.cs
- RectangleGeometry.cs
- XmlSerializerAssemblyAttribute.cs
- DataSourceBooleanViewSchemaConverter.cs
- RegexCapture.cs
- XhtmlConformanceSection.cs
- X509Chain.cs
- SecurityCredentialsManager.cs
- ExpressionTable.cs
- BufferedGraphicsContext.cs
- BevelBitmapEffect.cs
- FloatUtil.cs
- InfoCardClaimCollection.cs
- Matrix.cs
- Comparer.cs
- KoreanLunisolarCalendar.cs
- Util.cs
- FontUnit.cs
- DoubleLink.cs
- SessionState.cs
- DataControlPagerLinkButton.cs
- Quaternion.cs
- DynamicILGenerator.cs
- ErrorInfoXmlDocument.cs
- SequenceRangeCollection.cs
- Geometry.cs
- SqlNodeAnnotations.cs
- SecurityTokenRequirement.cs
- ToolStripPanel.cs
- SystemWebSectionGroup.cs
- ThicknessKeyFrameCollection.cs
- RtfControlWordInfo.cs
- EmptyElement.cs
- WindowsIPAddress.cs
- SessionStateContainer.cs
- WinFormsSecurity.cs
- LabelAutomationPeer.cs
- ParameterCollection.cs
- DrawingBrush.cs
- CheckedPointers.cs
- PerfCounters.cs
- ChildrenQuery.cs
- ListBoxItemAutomationPeer.cs
- HtmlTitle.cs
- AdapterUtil.cs
- ScriptingProfileServiceSection.cs
- TemplateXamlParser.cs
- XPathMessageFilterElement.cs
- SpellCheck.cs
- DataTableMappingCollection.cs
- Timer.cs
- ImmComposition.cs
- ModelVisual3D.cs
- DirectionalLight.cs
- DatatypeImplementation.cs
- Control.cs
- CompModSwitches.cs
- Focus.cs
- ImageInfo.cs
- NotSupportedException.cs
- TimelineGroup.cs
- OutputCacheSettings.cs
- X509Utils.cs
- InstanceDataCollectionCollection.cs
- RuntimeWrappedException.cs
- XPathEmptyIterator.cs
- OleDbConnectionFactory.cs
- AppearanceEditorPart.cs
- TypeReference.cs
- XpsManager.cs
- Timer.cs
- WSHttpBinding.cs
- ProbeMatchesMessageCD1.cs
- DataColumnCollection.cs
- CustomValidator.cs
- HexParser.cs