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 / OleDb / OleDbPropertySetGuid.cs / 1 / OleDbPropertySetGuid.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Data.Common; using System.Globalization; using System.Reflection; sealed internal class OleDbPropertySetGuid { private OleDbPropertySetGuid() { } static internal readonly Guid Column = new Guid(0xc8b522b9,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSource = new Guid(0xc8b522ba,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSourceInfo = new Guid(0xc8b522bb,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DBInit = new Guid(0xc8b522bc,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Index = new Guid(0xc8b522bd,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid PropertiesInError = new Guid(0xc8b522d4,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Rowset = new Guid(0xc8b522be,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Session = new Guid(0xc8b522c6,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Stream = new Guid(0xc8b522fd,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Table = new Guid(0xc8b522bf,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Trustee = new Guid(0xc8b522e1,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid View = new Guid(0xc8b522df,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSourceAll = new Guid(0xc8b522c0,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSourceInfoAll = new Guid(0xc8b522c1,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DBInitAll = new Guid(0xc8b522ca,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid ColumnAll = new Guid(0xc8b522f0,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid ConstraintAll = new Guid(0xc8b522fa,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid IndexAll = new Guid(0xc8b522f1,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid RowsetAll = new Guid(0xc8b522c2,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid SessionAll = new Guid(0xc8b522c7,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid StreamAll = new Guid(0xc8b522fe,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid TableAll = new Guid(0xc8b522f2,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid TrusteeAll = new Guid(0xc8b522f3,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid ViewAll = new Guid(0xc8b522fc,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); /* static internal string GetTextFromValue(Guid guid) { // MDAC 74085 string value = ConvertToString(guid); if (null == value) { value = "{" + guid.ToString("D", CultureInfo.InvariantCulture) + "}"; } return value; } static internal string ConvertToString(Guid guid) { // MDAC 74085 if (guid == OleDbPropertySetGuid.DBInit) { return "DBInit"; } if (guid == OleDbPropertySetGuid.Rowset) { return "Rowset"; } if (guid == OleDbPropertySetGuid.DataSource) { return "DataSource"; } if (guid == OleDbPropertySetGuid.DataSourceInfo) { return "DataSourceInfo"; } if (guid == OleDbPropertySetGuid.PropertiesInError) { return "PropertiesInError"; } if (guid == OleDbPropertySetGuid.View) { return "View"; } if (guid == OleDbPropertySetGuid.Trustee) { return "Trustee"; } if (guid == OleDbPropertySetGuid.Column) { return "Column"; } if (guid == OleDbPropertySetGuid.Index) { return "Index"; } if (guid == OleDbPropertySetGuid.Table) { return "Table"; } if (guid == OleDbPropertySetGuid.Session) { return "Session"; } if (guid == OleDbPropertySetGuid.Stream) { return "Stream"; } if (guid == OleDbPropertySetGuid.ColumnAll) { return "ColumnAll"; } if (guid == OleDbPropertySetGuid.IndexAll) { return "IndexAll"; } if (guid == OleDbPropertySetGuid.TableAll) { return "TableAll"; } if (guid == OleDbPropertySetGuid.TrusteeAll) { return "TrusteeAll"; } if (guid == OleDbPropertySetGuid.ConstraintAll) { return "ConstraintAll"; } if (guid == OleDbPropertySetGuid.DataSourceAll) { return "DataSourceAll"; } if (guid == OleDbPropertySetGuid.DataSourceInfoAll) { return "DataSourceInfoAll"; } if (guid == OleDbPropertySetGuid.RowsetAll) { return "RowsetAll"; } if (guid == OleDbPropertySetGuid.SessionAll) { return "SessionAll"; } if (guid == OleDbPropertySetGuid.DBInitAll) { return "DBInitAll"; } if (guid == OleDbPropertySetGuid.ViewAll) { return "ViewAll"; } if (guid == OleDbPropertySetGuid.StreamAll) { return "StreamAll"; } return null; } */ } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Data.Common; using System.Globalization; using System.Reflection; sealed internal class OleDbPropertySetGuid { private OleDbPropertySetGuid() { } static internal readonly Guid Column = new Guid(0xc8b522b9,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSource = new Guid(0xc8b522ba,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSourceInfo = new Guid(0xc8b522bb,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DBInit = new Guid(0xc8b522bc,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Index = new Guid(0xc8b522bd,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid PropertiesInError = new Guid(0xc8b522d4,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Rowset = new Guid(0xc8b522be,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Session = new Guid(0xc8b522c6,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Stream = new Guid(0xc8b522fd,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Table = new Guid(0xc8b522bf,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid Trustee = new Guid(0xc8b522e1,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid View = new Guid(0xc8b522df,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSourceAll = new Guid(0xc8b522c0,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DataSourceInfoAll = new Guid(0xc8b522c1,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid DBInitAll = new Guid(0xc8b522ca,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid ColumnAll = new Guid(0xc8b522f0,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid ConstraintAll = new Guid(0xc8b522fa,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid IndexAll = new Guid(0xc8b522f1,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid RowsetAll = new Guid(0xc8b522c2,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid SessionAll = new Guid(0xc8b522c7,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid StreamAll = new Guid(0xc8b522fe,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid TableAll = new Guid(0xc8b522f2,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid TrusteeAll = new Guid(0xc8b522f3,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); static internal readonly Guid ViewAll = new Guid(0xc8b522fc,0x5cf3,0x11ce,0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d); /* static internal string GetTextFromValue(Guid guid) { // MDAC 74085 string value = ConvertToString(guid); if (null == value) { value = "{" + guid.ToString("D", CultureInfo.InvariantCulture) + "}"; } return value; } static internal string ConvertToString(Guid guid) { // MDAC 74085 if (guid == OleDbPropertySetGuid.DBInit) { return "DBInit"; } if (guid == OleDbPropertySetGuid.Rowset) { return "Rowset"; } if (guid == OleDbPropertySetGuid.DataSource) { return "DataSource"; } if (guid == OleDbPropertySetGuid.DataSourceInfo) { return "DataSourceInfo"; } if (guid == OleDbPropertySetGuid.PropertiesInError) { return "PropertiesInError"; } if (guid == OleDbPropertySetGuid.View) { return "View"; } if (guid == OleDbPropertySetGuid.Trustee) { return "Trustee"; } if (guid == OleDbPropertySetGuid.Column) { return "Column"; } if (guid == OleDbPropertySetGuid.Index) { return "Index"; } if (guid == OleDbPropertySetGuid.Table) { return "Table"; } if (guid == OleDbPropertySetGuid.Session) { return "Session"; } if (guid == OleDbPropertySetGuid.Stream) { return "Stream"; } if (guid == OleDbPropertySetGuid.ColumnAll) { return "ColumnAll"; } if (guid == OleDbPropertySetGuid.IndexAll) { return "IndexAll"; } if (guid == OleDbPropertySetGuid.TableAll) { return "TableAll"; } if (guid == OleDbPropertySetGuid.TrusteeAll) { return "TrusteeAll"; } if (guid == OleDbPropertySetGuid.ConstraintAll) { return "ConstraintAll"; } if (guid == OleDbPropertySetGuid.DataSourceAll) { return "DataSourceAll"; } if (guid == OleDbPropertySetGuid.DataSourceInfoAll) { return "DataSourceInfoAll"; } if (guid == OleDbPropertySetGuid.RowsetAll) { return "RowsetAll"; } if (guid == OleDbPropertySetGuid.SessionAll) { return "SessionAll"; } if (guid == OleDbPropertySetGuid.DBInitAll) { return "DBInitAll"; } if (guid == OleDbPropertySetGuid.ViewAll) { return "ViewAll"; } if (guid == OleDbPropertySetGuid.StreamAll) { return "StreamAll"; } return null; } */ } } // 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
- DiagnosticTraceSource.cs
- KeyboardEventArgs.cs
- SignerInfo.cs
- UnsafeNativeMethods.cs
- CodeAccessPermission.cs
- DbParameterHelper.cs
- IDispatchConstantAttribute.cs
- DependencyProperty.cs
- SystemWebCachingSectionGroup.cs
- MutexSecurity.cs
- SystemNetworkInterface.cs
- PersonalizationStateInfoCollection.cs
- AppDomainManager.cs
- DeviceContexts.cs
- M3DUtil.cs
- RegistryExceptionHelper.cs
- VariantWrapper.cs
- DesignSurfaceServiceContainer.cs
- BindingCollection.cs
- ControlCachePolicy.cs
- UnsafeNativeMethods.cs
- InternalConfigRoot.cs
- GACIdentityPermission.cs
- GridErrorDlg.cs
- ToolStripItemDesigner.cs
- StyleHelper.cs
- HideDisabledControlAdapter.cs
- XmlDocumentType.cs
- CodeGotoStatement.cs
- SqlClientFactory.cs
- ConfigurationValidatorBase.cs
- HtmlLink.cs
- FlowDocumentPaginator.cs
- XmlLoader.cs
- XmlReaderDelegator.cs
- ThemeDirectoryCompiler.cs
- TrustLevelCollection.cs
- IsolatedStorage.cs
- RtfToXamlLexer.cs
- SQLInt16Storage.cs
- GridViewRow.cs
- DataBindingHandlerAttribute.cs
- WorkflowServiceAttributesTypeConverter.cs
- TextStore.cs
- FactoryRecord.cs
- ReadOnlyCollectionBase.cs
- AssemblyNameProxy.cs
- LinqDataSource.cs
- XmlSchemaSimpleType.cs
- BooleanSwitch.cs
- ToolTipAutomationPeer.cs
- CursorEditor.cs
- LazyInitializer.cs
- AssemblySettingAttributes.cs
- TraceHandlerErrorFormatter.cs
- ExpressionNode.cs
- Vector3DAnimationUsingKeyFrames.cs
- GroupBox.cs
- util.cs
- ServiceOperationParameter.cs
- ObjectSpanRewriter.cs
- BitmapEffectDrawingContextWalker.cs
- XsdDateTime.cs
- CommandID.cs
- Span.cs
- ConfigXmlWhitespace.cs
- IsolatedStorageFile.cs
- LinkConverter.cs
- ClrProviderManifest.cs
- Part.cs
- TypeSystem.cs
- ClipboardProcessor.cs
- OracleTransaction.cs
- SqlUdtInfo.cs
- CodeSubDirectory.cs
- Oid.cs
- ListItemCollection.cs
- NativeObjectSecurity.cs
- CachedTypeface.cs
- XmlExtensionFunction.cs
- XmlNodeChangedEventManager.cs
- BitmapEffectInputConnector.cs
- UIElement3D.cs
- DeploymentExceptionMapper.cs
- DeleteHelper.cs
- GeneralTransform3DGroup.cs
- DataGridPageChangedEventArgs.cs
- SelectorItemAutomationPeer.cs
- SqlException.cs
- SqlDelegatedTransaction.cs
- StagingAreaInputItem.cs
- TrackingStringDictionary.cs
- ProviderIncompatibleException.cs
- XmlAttributeProperties.cs
- CharacterBuffer.cs
- NonClientArea.cs
- DataServiceQueryException.cs
- RequestResizeEvent.cs
- RelOps.cs
- ModifierKeysValueSerializer.cs