Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //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
- DurableInstancingOptions.cs
- DocumentPaginator.cs
- ClientRuntimeConfig.cs
- WindowsStatic.cs
- GroupBoxRenderer.cs
- WindowsFormsHost.cs
- UnsafeNativeMethods.cs
- InputProcessorProfiles.cs
- WindowsGrip.cs
- MouseEvent.cs
- Nullable.cs
- FocusWithinProperty.cs
- InputLanguage.cs
- RowVisual.cs
- OpenFileDialog.cs
- ExtendedPropertyDescriptor.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- BulletedListEventArgs.cs
- CacheVirtualItemsEvent.cs
- BrowserCapabilitiesFactory.cs
- UIPermission.cs
- OdbcConnectionStringbuilder.cs
- AgileSafeNativeMemoryHandle.cs
- Operator.cs
- ArraySortHelper.cs
- RightNameExpirationInfoPair.cs
- Quaternion.cs
- FolderBrowserDialog.cs
- SocketElement.cs
- DesignerVerb.cs
- XmlSyndicationContent.cs
- TemplateBindingExpressionConverter.cs
- ThreadPool.cs
- GeometryDrawing.cs
- DeviceContexts.cs
- UriTemplateCompoundPathSegment.cs
- XNodeNavigator.cs
- CriticalExceptions.cs
- CaseInsensitiveHashCodeProvider.cs
- XPathNodeHelper.cs
- RuleProcessor.cs
- RoutedCommand.cs
- complextypematerializer.cs
- ExpressionEditorSheet.cs
- ExpressionBinding.cs
- AsyncPostBackErrorEventArgs.cs
- SmiRecordBuffer.cs
- CoTaskMemUnicodeSafeHandle.cs
- FunctionQuery.cs
- ControlBuilderAttribute.cs
- DbDataAdapter.cs
- GPPOINTF.cs
- XmlRootAttribute.cs
- SvcMapFile.cs
- OledbConnectionStringbuilder.cs
- ToolStripGripRenderEventArgs.cs
- DesignerActionHeaderItem.cs
- KerberosSecurityTokenAuthenticator.cs
- UrlPath.cs
- ClientBuildManager.cs
- PagesSection.cs
- ConnectionManagementElement.cs
- LabelAutomationPeer.cs
- TemplateNameScope.cs
- FileDialog.cs
- AutomationPattern.cs
- AuthStoreRoleProvider.cs
- FrameworkContentElementAutomationPeer.cs
- SourceFileInfo.cs
- DrawToolTipEventArgs.cs
- ReferentialConstraint.cs
- PtsContext.cs
- StackOverflowException.cs
- SerializationAttributes.cs
- DataSourceCacheDurationConverter.cs
- _ConnectionGroup.cs
- StringConverter.cs
- StatusStrip.cs
- ToolStripDesignerUtils.cs
- SmtpCommands.cs
- KoreanLunisolarCalendar.cs
- EntitySqlQueryBuilder.cs
- BindableTemplateBuilder.cs
- AlgoModule.cs
- TemplatePropertyEntry.cs
- FacetChecker.cs
- AsyncOperation.cs
- Int32AnimationBase.cs
- PropertyItemInternal.cs
- SubMenuStyle.cs
- _BufferOffsetSize.cs
- Vertex.cs
- ServicePointManager.cs
- SourceFileBuildProvider.cs
- Int64Storage.cs
- UniformGrid.cs
- ConfigurationStrings.cs
- DbDataSourceEnumerator.cs
- COMException.cs
- NewArrayExpression.cs