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
- VirtualPathData.cs
- CultureMapper.cs
- FormatVersion.cs
- RayMeshGeometry3DHitTestResult.cs
- Accessible.cs
- Serializer.cs
- WindowsGraphicsWrapper.cs
- HashLookup.cs
- RIPEMD160Managed.cs
- XmlNodeReader.cs
- EntityContainerEntitySet.cs
- AlignmentYValidation.cs
- ImageCollectionEditor.cs
- PopOutPanel.cs
- SqlBulkCopy.cs
- HtmlPanelAdapter.cs
- ComplusEndpointConfigContainer.cs
- TransformerInfoCollection.cs
- OuterGlowBitmapEffect.cs
- RestHandlerFactory.cs
- CodeTypeDeclaration.cs
- BindingMAnagerBase.cs
- Sequence.cs
- PersonalizationEntry.cs
- PreDigestedSignedInfo.cs
- XDeferredAxisSource.cs
- XmlSortKey.cs
- DetailsViewDeleteEventArgs.cs
- TableSectionStyle.cs
- Dynamic.cs
- AssemblyHash.cs
- StateWorkerRequest.cs
- RectAnimationUsingKeyFrames.cs
- AnonymousIdentificationSection.cs
- HttpWriter.cs
- RegisteredDisposeScript.cs
- ListParaClient.cs
- Reference.cs
- XamlReaderHelper.cs
- UpdateManifestForBrowserApplication.cs
- FormatSettings.cs
- MSG.cs
- TextDecoration.cs
- TextTrailingWordEllipsis.cs
- OutputCacheSettingsSection.cs
- ControlIdConverter.cs
- MethodRental.cs
- SessionMode.cs
- WebPartUserCapability.cs
- DetailsViewRowCollection.cs
- Camera.cs
- MaskDesignerDialog.cs
- ResourceCategoryAttribute.cs
- CustomLineCap.cs
- ExternalException.cs
- ValidationError.cs
- StreamWriter.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- TreeIterator.cs
- RegisteredArrayDeclaration.cs
- DataGridItemEventArgs.cs
- WindowsListViewItemStartMenu.cs
- RijndaelManagedTransform.cs
- TemplateBindingExtensionConverter.cs
- XmlSerializationGeneratedCode.cs
- odbcmetadatacollectionnames.cs
- SimpleType.cs
- Boolean.cs
- BaseUriHelper.cs
- StrongNameMembershipCondition.cs
- HtmlInputFile.cs
- BitmapEffectrendercontext.cs
- SourceElementsCollection.cs
- SerializationTrace.cs
- ContentTextAutomationPeer.cs
- KeyFrames.cs
- Deflater.cs
- WebPartEditVerb.cs
- UnsafeNativeMethods.cs
- ReflectEventDescriptor.cs
- HandleCollector.cs
- Debug.cs
- CanExecuteRoutedEventArgs.cs
- HeaderUtility.cs
- LessThanOrEqual.cs
- Convert.cs
- SelectionProviderWrapper.cs
- DataControlLinkButton.cs
- ExclusiveTcpTransportManager.cs
- XmlEnumAttribute.cs
- SchemaTypeEmitter.cs
- SignatureToken.cs
- BuildProvider.cs
- DataGridViewToolTip.cs
- SqlClientFactory.cs
- InternalResources.cs
- OpenTypeLayoutCache.cs
- PrintPreviewDialog.cs
- PackageRelationshipCollection.cs
- ObjectDataSourceEventArgs.cs