Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / UntypedNullExpression.cs / 1305376 / UntypedNullExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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() : base(DbExpressionKind.Null, 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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() : base(DbExpressionKind.Null, 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
- SignerInfo.cs
- NaturalLanguageHyphenator.cs
- Label.cs
- ExpressionBuilder.cs
- UnauthorizedWebPart.cs
- IIS7WorkerRequest.cs
- dataprotectionpermissionattribute.cs
- Mutex.cs
- OracleDataReader.cs
- ThrowOnMultipleAssignment.cs
- StylusPointPropertyUnit.cs
- WebResourceAttribute.cs
- AdPostCacheSubstitution.cs
- TreeViewImageIndexConverter.cs
- IisTraceWebEventProvider.cs
- AncestorChangedEventArgs.cs
- OleDbError.cs
- MarginCollapsingState.cs
- ContextDataSourceContextData.cs
- SafeReversePInvokeHandle.cs
- LinkTarget.cs
- Point3DKeyFrameCollection.cs
- ReferenceEqualityComparer.cs
- SecurityToken.cs
- InputQueue.cs
- ErrorFormatterPage.cs
- NullExtension.cs
- Visual.cs
- DataBoundControlAdapter.cs
- IResourceProvider.cs
- SequenceDesignerAccessibleObject.cs
- clipboard.cs
- PackageStore.cs
- EventLogTraceListener.cs
- ZipPackage.cs
- DesignTimeTemplateParser.cs
- HebrewNumber.cs
- ProtocolsSection.cs
- XmlSchemaGroup.cs
- SendOperation.cs
- CodeParameterDeclarationExpression.cs
- CompModSwitches.cs
- TraceFilter.cs
- PropertyPushdownHelper.cs
- OptimisticConcurrencyException.cs
- RequestDescription.cs
- CallContext.cs
- InputLanguageEventArgs.cs
- SqlGenerator.cs
- MethodBuilderInstantiation.cs
- KernelTypeValidation.cs
- StyleTypedPropertyAttribute.cs
- ButtonChrome.cs
- TextLineResult.cs
- XmlElement.cs
- DependencyObject.cs
- TimelineClockCollection.cs
- HtmlInputControl.cs
- CodeSnippetExpression.cs
- CodeIdentifier.cs
- InternalTransaction.cs
- SolidBrush.cs
- NullRuntimeConfig.cs
- AbstractExpressions.cs
- FilterableAttribute.cs
- NativeMethods.cs
- WebEvents.cs
- InvariantComparer.cs
- Bookmark.cs
- RunWorkerCompletedEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- ProviderMetadataCachedInformation.cs
- CalendarDay.cs
- TemplateBindingExtension.cs
- FormViewDeleteEventArgs.cs
- TextRangeProviderWrapper.cs
- SortDescription.cs
- XmlReaderDelegator.cs
- MediaElementAutomationPeer.cs
- Pen.cs
- _SslState.cs
- QueryExtender.cs
- TextShapeableCharacters.cs
- DbInsertCommandTree.cs
- SoapObjectWriter.cs
- Decorator.cs
- DataGridViewRowEventArgs.cs
- EdmToObjectNamespaceMap.cs
- IisTraceListener.cs
- PathFigure.cs
- OdbcFactory.cs
- WasEndpointConfigContainer.cs
- TraceProvider.cs
- SchemaTableOptionalColumn.cs
- StorageAssociationTypeMapping.cs
- OnOperation.cs
- LocalizableAttribute.cs
- ErrorRuntimeConfig.cs
- LinqDataSourceDisposeEventArgs.cs
- StorageFunctionMapping.cs