Code:
/ DotNET / DotNET / 8.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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BlobPersonalizationState.cs
- ComponentEditorForm.cs
- XsltFunctions.cs
- Sorting.cs
- login.cs
- SelectionRangeConverter.cs
- TransformGroup.cs
- SqlRemoveConstantOrderBy.cs
- WebMessageEncodingBindingElement.cs
- Win32Exception.cs
- IdentityHolder.cs
- Normalization.cs
- ItemMap.cs
- mansign.cs
- ParserContext.cs
- dtdvalidator.cs
- IDQuery.cs
- SerializationFieldInfo.cs
- SizeAnimationClockResource.cs
- DelegatingConfigHost.cs
- XmlStringTable.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ComponentCollection.cs
- SmtpSection.cs
- DynamicDocumentPaginator.cs
- MediaPlayer.cs
- MarkupCompiler.cs
- ButtonChrome.cs
- TypeInfo.cs
- ErrorWebPart.cs
- ClientRoleProvider.cs
- SqlIdentifier.cs
- ObjectStateManager.cs
- ByteArrayHelperWithString.cs
- PageEventArgs.cs
- OperationValidationEventArgs.cs
- RightNameExpirationInfoPair.cs
- PartialCachingControl.cs
- BindingsSection.cs
- StringToken.cs
- WebControl.cs
- XmlBinaryReaderSession.cs
- CodeSubDirectoriesCollection.cs
- SchemaAttDef.cs
- handlecollector.cs
- OutOfMemoryException.cs
- DuplicateWaitObjectException.cs
- CustomAttribute.cs
- StorageEndPropertyMapping.cs
- BitmapDownload.cs
- Formatter.cs
- QilValidationVisitor.cs
- OracleInternalConnection.cs
- CopyNamespacesAction.cs
- MarkerProperties.cs
- DataMemberConverter.cs
- SignatureDescription.cs
- XPathDocument.cs
- XmlNodeChangedEventManager.cs
- AppSettings.cs
- SafeNativeMethods.cs
- Rotation3DKeyFrameCollection.cs
- CorruptStoreException.cs
- FormParameter.cs
- XmlDocument.cs
- Point3DAnimationBase.cs
- Viewport3DAutomationPeer.cs
- RectangleHotSpot.cs
- XmlCustomFormatter.cs
- DrawingGroupDrawingContext.cs
- DoubleLinkListEnumerator.cs
- Deflater.cs
- StoryFragments.cs
- SafeFileHandle.cs
- ContentControl.cs
- XmlAutoDetectWriter.cs
- COM2ColorConverter.cs
- CapabilitiesSection.cs
- SystemNetworkInterface.cs
- SqlCachedBuffer.cs
- COM2ICategorizePropertiesHandler.cs
- KeyFrames.cs
- UriWriter.cs
- UserControlParser.cs
- SiteIdentityPermission.cs
- RepeaterItem.cs
- DoubleCollectionConverter.cs
- BreakRecordTable.cs
- PriorityQueue.cs
- XmlAttribute.cs
- Variable.cs
- HttpInputStream.cs
- BulletDecorator.cs
- Function.cs
- ImageBrush.cs
- ToolStripGrip.cs
- TypeHelper.cs
- StaticSiteMapProvider.cs
- GACMembershipCondition.cs
- EventMappingSettingsCollection.cs