Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / System / Data / SQLTypes / SQLResource.cs / 1 / SQLResource.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //junfang //[....] //[....] //----------------------------------------------------------------------------- //************************************************************************* // @File: SQLResource.cs // // Create by: JunFang // // Purpose: Implementation of utilities in COM+ SQL Types Library. // Includes interface INullable, exceptions SqlNullValueException // and SqlTruncateException, and SQLDebug class. // // Notes: // // History: // // 10/22/99 JunFang Created. // // @EndHeader@ //************************************************************************* namespace System.Data.SqlTypes { using System; using System.Data; using System.Globalization; internal sealed class SQLResource { private SQLResource() { /* prevent utility class from being insantiated*/ } internal static readonly String NullString = Res.GetString(Res.SqlMisc_NullString); internal static readonly String MessageString = Res.GetString(Res.SqlMisc_MessageString); internal static readonly String ArithOverflowMessage = Res.GetString(Res.SqlMisc_ArithOverflowMessage); internal static readonly String DivideByZeroMessage = Res.GetString(Res.SqlMisc_DivideByZeroMessage); internal static readonly String NullValueMessage = Res.GetString(Res.SqlMisc_NullValueMessage); internal static readonly String TruncationMessage = Res.GetString(Res.SqlMisc_TruncationMessage); internal static readonly String DateTimeOverflowMessage = Res.GetString(Res.SqlMisc_DateTimeOverflowMessage); internal static readonly String ConcatDiffCollationMessage = Res.GetString(Res.SqlMisc_ConcatDiffCollationMessage); internal static readonly String CompareDiffCollationMessage = Res.GetString(Res.SqlMisc_CompareDiffCollationMessage); internal static readonly String InvalidFlagMessage = Res.GetString(Res.SqlMisc_InvalidFlagMessage); internal static readonly String NumeToDecOverflowMessage = Res.GetString(Res.SqlMisc_NumeToDecOverflowMessage); internal static readonly String ConversionOverflowMessage = Res.GetString(Res.SqlMisc_ConversionOverflowMessage); internal static readonly String InvalidDateTimeMessage = Res.GetString(Res.SqlMisc_InvalidDateTimeMessage); internal static readonly String TimeZoneSpecifiedMessage = Res.GetString(Res.SqlMisc_TimeZoneSpecifiedMessage); internal static readonly String InvalidArraySizeMessage = Res.GetString(Res.SqlMisc_InvalidArraySizeMessage); internal static readonly String InvalidPrecScaleMessage = Res.GetString(Res.SqlMisc_InvalidPrecScaleMessage); internal static readonly String FormatMessage = Res.GetString(Res.SqlMisc_FormatMessage); internal static readonly String NotFilledMessage = Res.GetString(Res.SqlMisc_NotFilledMessage); internal static readonly String AlreadyFilledMessage = Res.GetString(Res.SqlMisc_AlreadyFilledMessage); internal static readonly String ClosedXmlReaderMessage = Res.GetString(Res.SqlMisc_ClosedXmlReaderMessage); internal static String InvalidOpStreamClosed(String method) { return Res.GetString(Res.SqlMisc_InvalidOpStreamClosed, method); } internal static String InvalidOpStreamNonWritable(String method) { return Res.GetString(Res.SqlMisc_InvalidOpStreamNonWritable, method); } internal static String InvalidOpStreamNonReadable(String method) { return Res.GetString(Res.SqlMisc_InvalidOpStreamNonReadable, method); } internal static String InvalidOpStreamNonSeekable(String method) { return Res.GetString(Res.SqlMisc_InvalidOpStreamNonSeekable, method); } } // SqlResource } // namespace System // 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
- ScalarOps.cs
- _SslStream.cs
- lengthconverter.cs
- DecimalAnimation.cs
- CodeLinePragma.cs
- JournalNavigationScope.cs
- SafeNativeMethods.cs
- UInt64Storage.cs
- NativeCompoundFileAPIs.cs
- PropertyPathConverter.cs
- RadioButton.cs
- VariableQuery.cs
- BindableTemplateBuilder.cs
- VariantWrapper.cs
- ScrollProviderWrapper.cs
- ResourceDisplayNameAttribute.cs
- LineSegment.cs
- ObjectQuery_EntitySqlExtensions.cs
- PasswordRecovery.cs
- _SSPIWrapper.cs
- DiagnosticsConfiguration.cs
- TabletDevice.cs
- XsdBuilder.cs
- StreamUpdate.cs
- InputManager.cs
- MatrixAnimationUsingPath.cs
- ItemList.cs
- DateTimeConstantAttribute.cs
- ReferentialConstraintRoleElement.cs
- SafePEFileHandle.cs
- SqlConnectionStringBuilder.cs
- ManualResetEvent.cs
- EventLog.cs
- AudioFileOut.cs
- NullableIntMinMaxAggregationOperator.cs
- CodeMethodInvokeExpression.cs
- unsafenativemethodsother.cs
- StylusButtonCollection.cs
- TemplateBaseAction.cs
- HttpWebResponse.cs
- SQLSingle.cs
- Sentence.cs
- TransformPatternIdentifiers.cs
- FastEncoderWindow.cs
- ByteFacetDescriptionElement.cs
- HeaderPanel.cs
- JsonSerializer.cs
- MDIClient.cs
- ArrayList.cs
- BackgroundFormatInfo.cs
- SqlDataSourceCommandParser.cs
- ActiveXSite.cs
- Graph.cs
- basecomparevalidator.cs
- StdRegProviderWrapper.cs
- MatchingStyle.cs
- BypassElementCollection.cs
- MouseCaptureWithinProperty.cs
- dataSvcMapFileLoader.cs
- HebrewCalendar.cs
- ClientRuntimeConfig.cs
- CompositionAdorner.cs
- StrokeIntersection.cs
- SQLBinaryStorage.cs
- FrameworkContentElementAutomationPeer.cs
- BitmapEncoder.cs
- JapaneseLunisolarCalendar.cs
- CryptoKeySecurity.cs
- Button.cs
- WorkItem.cs
- SoapSchemaExporter.cs
- RemoteWebConfigurationHostStream.cs
- DefaultValueMapping.cs
- ReversePositionQuery.cs
- StaticContext.cs
- FontWeight.cs
- Transform3D.cs
- BindToObject.cs
- ControlAdapter.cs
- MaskedTextBoxDesigner.cs
- ComUdtElement.cs
- RelatedPropertyManager.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- FaultCallbackWrapper.cs
- DataGridViewColumn.cs
- DynamicRenderer.cs
- TextParentUndoUnit.cs
- ChangeTracker.cs
- ApplicationGesture.cs
- PocoPropertyAccessorStrategy.cs
- WindowsGraphics2.cs
- Misc.cs
- Resources.Designer.cs
- PenThreadWorker.cs
- PageThemeBuildProvider.cs
- Ray3DHitTestResult.cs
- followingsibling.cs
- FontResourceCache.cs
- ListItemsPage.cs
- DockingAttribute.cs