Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / SQLTypes / SQLResource.cs / 1305376 / 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. // //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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SelectionPatternIdentifiers.cs
- DelimitedListTraceListener.cs
- EntityDataSourceWrapper.cs
- FillBehavior.cs
- SendMessageChannelCache.cs
- UInt32.cs
- XslException.cs
- UnauthorizedAccessException.cs
- ResourceDisplayNameAttribute.cs
- Configuration.cs
- BinaryCommonClasses.cs
- Geometry3D.cs
- JumpTask.cs
- SqlCachedBuffer.cs
- Camera.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- JavaScriptSerializer.cs
- ErrorEventArgs.cs
- PolicyDesigner.cs
- ArraySubsetEnumerator.cs
- IteratorFilter.cs
- CodeGotoStatement.cs
- RequestChannelBinder.cs
- QueueTransferProtocol.cs
- LayoutEngine.cs
- ThicknessAnimationUsingKeyFrames.cs
- PersistenceProviderBehavior.cs
- PreviewControlDesigner.cs
- XmlSerializationReader.cs
- StateDesigner.CommentLayoutGlyph.cs
- XmlSchemaComplexContentRestriction.cs
- BinaryMessageFormatter.cs
- BooleanAnimationBase.cs
- MessagingDescriptionAttribute.cs
- ApplicationServiceManager.cs
- XmlSchemaExporter.cs
- RelationshipEnd.cs
- HttpApplicationFactory.cs
- HostingPreferredMapPath.cs
- XmlTextReaderImpl.cs
- Delegate.cs
- StylusPointPropertyUnit.cs
- EncryptedType.cs
- FontSource.cs
- PowerModeChangedEventArgs.cs
- DiagnosticsConfiguration.cs
- ComponentChangedEvent.cs
- WsdlParser.cs
- DataGridViewCellParsingEventArgs.cs
- ExtendedPropertyCollection.cs
- InputMethod.cs
- XmlName.cs
- ToolTip.cs
- SiteMapNodeCollection.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- XsltCompileContext.cs
- NavigationWindow.cs
- Track.cs
- ProxyAssemblyNotLoadedException.cs
- SplineQuaternionKeyFrame.cs
- FrameworkReadOnlyPropertyMetadata.cs
- CubicEase.cs
- SymbolEqualComparer.cs
- RangeValidator.cs
- Utils.cs
- complextypematerializer.cs
- RemoteWebConfigurationHostServer.cs
- SpoolingTaskBase.cs
- ProxyManager.cs
- httpstaticobjectscollection.cs
- InertiaTranslationBehavior.cs
- NegotiationTokenProvider.cs
- GridSplitterAutomationPeer.cs
- AuthenticationModuleElement.cs
- GradientStop.cs
- WebHttpEndpointElement.cs
- FrameworkContentElement.cs
- ProxySimple.cs
- RegexStringValidator.cs
- WeakReferenceEnumerator.cs
- _NetworkingPerfCounters.cs
- XslNumber.cs
- UIPermission.cs
- SoapIncludeAttribute.cs
- SafeEventHandle.cs
- UriTemplateClientFormatter.cs
- IRCollection.cs
- Composition.cs
- PowerModeChangedEventArgs.cs
- DependentList.cs
- SafeReversePInvokeHandle.cs
- DateTimeFormatInfoScanner.cs
- externdll.cs
- Visual3DCollection.cs
- XmlEntity.cs
- ComplexTypeEmitter.cs
- SetterBase.cs
- FixUpCollection.cs
- SecurityKeyIdentifier.cs
- TableCellAutomationPeer.cs