Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- GeneralTransform3DGroup.cs
- RouteParser.cs
- MultiView.cs
- PropertyCondition.cs
- TextElementEditingBehaviorAttribute.cs
- HostedElements.cs
- HttpListenerContext.cs
- linebase.cs
- FormViewPagerRow.cs
- Speller.cs
- ScriptingRoleServiceSection.cs
- TextRange.cs
- EventProviderWriter.cs
- UntypedNullExpression.cs
- AssemblyInfo.cs
- WebPartDisplayModeEventArgs.cs
- CodeAccessSecurityEngine.cs
- AsyncContentLoadedEventArgs.cs
- ZipIOLocalFileDataDescriptor.cs
- RectAnimationUsingKeyFrames.cs
- Trace.cs
- EntityDataSourceView.cs
- ResolveCriteriaApril2005.cs
- SqlLiftWhereClauses.cs
- Triplet.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- IPHostEntry.cs
- RootAction.cs
- WorkflowDefinitionDispenser.cs
- Point3D.cs
- CodeAttributeDeclarationCollection.cs
- DbConnectionPoolOptions.cs
- IOException.cs
- NavigationProperty.cs
- Int16AnimationBase.cs
- ImageKeyConverter.cs
- TemplateLookupAction.cs
- FileUtil.cs
- ListenerAdapter.cs
- AttributedMetaModel.cs
- MultipartContentParser.cs
- ProtectedConfigurationProviderCollection.cs
- DataObjectCopyingEventArgs.cs
- Win32SafeHandles.cs
- EntitySet.cs
- XamlBrushSerializer.cs
- WrapPanel.cs
- JpegBitmapDecoder.cs
- Attributes.cs
- TextTreeUndoUnit.cs
- SessionStateModule.cs
- UnsafeNativeMethods.cs
- UnknownWrapper.cs
- XmlException.cs
- DataGridViewCheckBoxCell.cs
- MimeMultiPart.cs
- HttpProtocolReflector.cs
- ProfileService.cs
- Intellisense.cs
- BindingCollection.cs
- GPStream.cs
- unsafenativemethodsother.cs
- autovalidator.cs
- SendActivityDesigner.cs
- HtmlHistory.cs
- xdrvalidator.cs
- ToolStripDropDownClosedEventArgs.cs
- AsymmetricAlgorithm.cs
- FileChangesMonitor.cs
- SqlDependency.cs
- PnrpPeerResolverBindingElement.cs
- IBuiltInEvidence.cs
- TextRunCacheImp.cs
- MethodRental.cs
- FileRecordSequenceCompletedAsyncResult.cs
- SqlBuilder.cs
- SafeMILHandle.cs
- ClientType.cs
- xmlformatgeneratorstatics.cs
- SplitContainer.cs
- DbExpressionVisitor_TResultType.cs
- DllNotFoundException.cs
- RelativeSource.cs
- SrgsNameValueTag.cs
- MemoryFailPoint.cs
- GlobalDataBindingHandler.cs
- ServiceAuthorizationElement.cs
- SeekStoryboard.cs
- Matrix.cs
- TextWriter.cs
- XPathSelectionIterator.cs
- FormatSettings.cs
- StringExpressionSet.cs
- MimeTextImporter.cs
- XmlLoader.cs
- CfgParser.cs
- WebUtil.cs
- ScriptIgnoreAttribute.cs
- ConstraintStruct.cs
- DesigntimeLicenseContext.cs