Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / UntypedNullExpression.cs / 1 / UntypedNullExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Data.Metadata.Edm; using System.Data.Common.CommandTrees; namespace System.Data.Common.EntitySql { ////// Represents an untyped null. /// internal sealed class UntypedNullExpression : DbExpression { internal UntypedNullExpression( DbCommandTree commandTree ) : base( commandTree, DbExpressionKind.Null ) { this.ResultType = TypeUsage.NullType; } ////// The visitor pattern method for expression visitors that do not produce a result value. /// /// An instance of DbExpressionVisitor. public override void Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } ////// The visitor pattern method for expression visitors that produce a result value of a specific type. /// /// An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. public override T Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Data.Metadata.Edm; using System.Data.Common.CommandTrees; namespace System.Data.Common.EntitySql { ////// Represents an untyped null. /// internal sealed class UntypedNullExpression : DbExpression { internal UntypedNullExpression( DbCommandTree commandTree ) : base( commandTree, DbExpressionKind.Null ) { this.ResultType = TypeUsage.NullType; } ////// The visitor pattern method for expression visitors that do not produce a result value. /// /// An instance of DbExpressionVisitor. public override void Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } ////// The visitor pattern method for expression visitors that produce a result value of a specific type. /// /// An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. public override T Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } } } // 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
- TextRangeAdaptor.cs
- CompoundFileStorageReference.cs
- GridItemPatternIdentifiers.cs
- DataControlButton.cs
- ControlEvent.cs
- DownloadProgressEventArgs.cs
- QilIterator.cs
- SqlDataSourceParameterParser.cs
- XamlSerializerUtil.cs
- DataGridViewRowCancelEventArgs.cs
- InvalidPropValue.cs
- StructuralType.cs
- DataBindEngine.cs
- ClusterUtils.cs
- XmlByteStreamWriter.cs
- IntSecurity.cs
- TreeView.cs
- XmlName.cs
- Dictionary.cs
- FontDialog.cs
- ColumnClickEvent.cs
- TiffBitmapEncoder.cs
- LineBreak.cs
- CompareValidator.cs
- _ListenerAsyncResult.cs
- ObjectStateFormatter.cs
- DesignerForm.cs
- StreamUpdate.cs
- ChannelServices.cs
- XmlDocumentFieldSchema.cs
- ReturnEventArgs.cs
- xml.cs
- SHA1.cs
- NodeLabelEditEvent.cs
- DataGridHyperlinkColumn.cs
- UnsafeNativeMethods.cs
- LoadedOrUnloadedOperation.cs
- ClassGenerator.cs
- MessageLoggingElement.cs
- GPPOINT.cs
- ModelFunctionTypeElement.cs
- RelatedImageListAttribute.cs
- ProfileManager.cs
- SmtpTransport.cs
- ParameterReplacerVisitor.cs
- AssemblyInfo.cs
- WebFormsRootDesigner.cs
- VectorValueSerializer.cs
- PropertyGridCommands.cs
- HttpRawResponse.cs
- Automation.cs
- ParseHttpDate.cs
- SerializableAuthorizationContext.cs
- ExclusiveCanonicalizationTransform.cs
- XmlSchemaSimpleTypeUnion.cs
- FilterableAttribute.cs
- HttpProfileBase.cs
- StackBuilderSink.cs
- DockPanel.cs
- JsonFormatReaderGenerator.cs
- SettingsContext.cs
- CqlWriter.cs
- ObjectMemberMapping.cs
- InternalConfigRoot.cs
- PathSegment.cs
- VirtualizingPanel.cs
- BitVector32.cs
- Decoder.cs
- DriveNotFoundException.cs
- ToolBarOverflowPanel.cs
- TextEffect.cs
- InvalidDataException.cs
- invalidudtexception.cs
- CapabilitiesUse.cs
- WebPartMovingEventArgs.cs
- TrustSection.cs
- ManifestResourceInfo.cs
- InlinedAggregationOperatorEnumerator.cs
- Switch.cs
- AutoGeneratedField.cs
- CompilerCollection.cs
- DataPagerField.cs
- Drawing.cs
- LongValidator.cs
- XmlNavigatorStack.cs
- SystemKeyConverter.cs
- ProviderSettingsCollection.cs
- InputDevice.cs
- CheckBox.cs
- NamespaceCollection.cs
- EnterpriseServicesHelper.cs
- SetIterators.cs
- PropertyRecord.cs
- _SecureChannel.cs
- EntityDataSourceState.cs
- SchemaUtility.cs
- Propagator.Evaluator.cs
- DesignerSerializerAttribute.cs
- SqlProviderManifest.cs
- EditCommandColumn.cs