Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / DataOracleClient / System / Data / Common / DBSqlParserTable.cs / 1 / DBSqlParserTable.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Data.OracleClient { using System; using System.Collections; using System.Diagnostics; using System.Text; //--------------------------------------------------------------------- // DbSqlParserTable // // A parsed table reference from DbSqlParser. // sealed internal class DbSqlParserTable { private string _databaseName; private string _schemaName; private string _tableName; private string _correlationName; private DbSqlParserColumnCollection _columns; internal DbSqlParserTable(string databaseName, string schemaName, string tableName, string correlationName) { _databaseName = databaseName; _schemaName = schemaName; _tableName = tableName; _correlationName = correlationName; } internal DbSqlParserColumnCollection Columns { get { if (null == _columns) { _columns = new DbSqlParserColumnCollection(); } return _columns; } set { if (null == value) { throw new ArgumentNullException("value"); } if (!typeof(DbSqlParserColumnCollection).IsInstanceOfType(value)) { throw new InvalidCastException("value"); } _columns = value; } } internal string CorrelationName { get { return (null == _correlationName)?string.Empty : _correlationName; } } internal string DatabaseName { get { return (null == _databaseName) ? string.Empty : _databaseName; } } internal string SchemaName { get { return (null == _schemaName) ? string.Empty : _schemaName; } } internal string TableName { get { return (null == _tableName) ? string.Empty : _tableName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Data.OracleClient { using System; using System.Collections; using System.Diagnostics; using System.Text; //--------------------------------------------------------------------- // DbSqlParserTable // // A parsed table reference from DbSqlParser. // sealed internal class DbSqlParserTable { private string _databaseName; private string _schemaName; private string _tableName; private string _correlationName; private DbSqlParserColumnCollection _columns; internal DbSqlParserTable(string databaseName, string schemaName, string tableName, string correlationName) { _databaseName = databaseName; _schemaName = schemaName; _tableName = tableName; _correlationName = correlationName; } internal DbSqlParserColumnCollection Columns { get { if (null == _columns) { _columns = new DbSqlParserColumnCollection(); } return _columns; } set { if (null == value) { throw new ArgumentNullException("value"); } if (!typeof(DbSqlParserColumnCollection).IsInstanceOfType(value)) { throw new InvalidCastException("value"); } _columns = value; } } internal string CorrelationName { get { return (null == _correlationName)?string.Empty : _correlationName; } } internal string DatabaseName { get { return (null == _databaseName) ? string.Empty : _databaseName; } } internal string SchemaName { get { return (null == _schemaName) ? string.Empty : _schemaName; } } internal string TableName { get { return (null == _tableName) ? string.Empty : _tableName; } } } } // 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
- PenContexts.cs
- PeerToPeerException.cs
- BitmapDownload.cs
- PathTooLongException.cs
- EventDescriptor.cs
- SizeValueSerializer.cs
- DriveNotFoundException.cs
- RelationshipEnd.cs
- DirectionalLight.cs
- VisualStyleRenderer.cs
- NumericUpDown.cs
- WinFormsSpinner.cs
- LicenseException.cs
- ListBoxAutomationPeer.cs
- _SingleItemRequestCache.cs
- BindUriHelper.cs
- CDSsyncETWBCLProvider.cs
- SubclassTypeValidatorAttribute.cs
- AsyncCompletedEventArgs.cs
- OleDbErrorCollection.cs
- FileEnumerator.cs
- DecodeHelper.cs
- AngleUtil.cs
- JavaScriptObjectDeserializer.cs
- CacheAxisQuery.cs
- PointHitTestParameters.cs
- WebBrowserSiteBase.cs
- SystemKeyConverter.cs
- TextEditorDragDrop.cs
- Light.cs
- DictionaryEntry.cs
- UIPermission.cs
- WindowProviderWrapper.cs
- DBSqlParserColumnCollection.cs
- recordstatefactory.cs
- SecurityValidationBehavior.cs
- GeneralTransform2DTo3D.cs
- DeobfuscatingStream.cs
- TypeUtils.cs
- HtmlSelect.cs
- UInt16Storage.cs
- CheckBoxAutomationPeer.cs
- SchemaNotation.cs
- ImageClickEventArgs.cs
- BindingContext.cs
- SystemInfo.cs
- FontNamesConverter.cs
- GlyphCache.cs
- HttpHandler.cs
- ObjectAssociationEndMapping.cs
- NonVisualControlAttribute.cs
- View.cs
- ConfigurationManagerInternalFactory.cs
- SqlWorkflowPersistenceService.cs
- OrderingExpression.cs
- CoreSwitches.cs
- DesigntimeLicenseContext.cs
- SQLResource.cs
- graph.cs
- RefreshEventArgs.cs
- InternalReceiveMessage.cs
- ResourcesChangeInfo.cs
- DataGridViewLayoutData.cs
- SqlNodeAnnotation.cs
- HttpVersion.cs
- RowSpanVector.cs
- Resources.Designer.cs
- _ScatterGatherBuffers.cs
- CodeSubDirectory.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- EntityTypeBase.cs
- ObjectSelectorEditor.cs
- Pkcs7Recipient.cs
- SQLByte.cs
- AsyncSerializedWorker.cs
- StylusPlugin.cs
- BitmapDownload.cs
- XmlCountingReader.cs
- FixedSOMFixedBlock.cs
- BindingsCollection.cs
- RectangleGeometry.cs
- OdbcEnvironment.cs
- TemplateControlParser.cs
- XmlSerializableReader.cs
- ListView.cs
- shaperfactory.cs
- Span.cs
- TimelineCollection.cs
- AbsoluteQuery.cs
- ExpressionEditorAttribute.cs
- ObservableCollection.cs
- QueryCreatedEventArgs.cs
- OracleTimeSpan.cs
- GenericAuthenticationEventArgs.cs
- DesignSurfaceManager.cs
- PropertyInformation.cs
- SmtpReplyReader.cs
- COM2ExtendedTypeConverter.cs
- HwndSource.cs
- DesignerAutoFormatCollection.cs