Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- IconConverter.cs
- VariantWrapper.cs
- TypeReference.cs
- DesignerOptionService.cs
- GridViewEditEventArgs.cs
- MemberAccessException.cs
- ManifestResourceInfo.cs
- UriTemplateTrieNode.cs
- IdentityHolder.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- AnnotationResource.cs
- GZipDecoder.cs
- StylusShape.cs
- TextRunTypographyProperties.cs
- KoreanCalendar.cs
- ButtonFieldBase.cs
- XamlParser.cs
- InvokeBinder.cs
- KnownBoxes.cs
- WinFormsSpinner.cs
- AssociationSetEnd.cs
- SafeEventLogReadHandle.cs
- XmlTextEncoder.cs
- ArrangedElement.cs
- BroadcastEventHelper.cs
- SqlDataSourceFilteringEventArgs.cs
- GraphicsContext.cs
- Debug.cs
- dtdvalidator.cs
- DragDrop.cs
- MenuAutomationPeer.cs
- CurrentTimeZone.cs
- WizardStepBase.cs
- ErrorTableItemStyle.cs
- DataGridHelper.cs
- ToolboxBitmapAttribute.cs
- ExpressionBindingsDialog.cs
- EventDescriptor.cs
- RedirectionProxy.cs
- CultureSpecificStringDictionary.cs
- SizeAnimationBase.cs
- RegisteredScript.cs
- Choices.cs
- UIntPtr.cs
- InstanceData.cs
- PackWebRequestFactory.cs
- ListItemConverter.cs
- ProxyGenerator.cs
- GeneralTransform3DTo2D.cs
- AssemblyInfo.cs
- ObsoleteAttribute.cs
- PopupRoot.cs
- TextTreeTextElementNode.cs
- StateMachineWorkflowInstance.cs
- EncodingInfo.cs
- MarginCollapsingState.cs
- CompilerGlobalScopeAttribute.cs
- SoapCodeExporter.cs
- ETagAttribute.cs
- HttpApplicationFactory.cs
- PageThemeParser.cs
- Help.cs
- TreePrinter.cs
- assemblycache.cs
- MetadataArtifactLoaderComposite.cs
- DocumentSchemaValidator.cs
- DataGridViewCellValidatingEventArgs.cs
- WindowAutomationPeer.cs
- OutputScopeManager.cs
- PopupControlService.cs
- VirtualizedContainerService.cs
- TextBox.cs
- HtmlForm.cs
- HyperLinkStyle.cs
- ByeOperationAsyncResult.cs
- TreeNodeConverter.cs
- TypeDescriptionProviderAttribute.cs
- SecurityTokenAuthenticator.cs
- SyndicationFeedFormatter.cs
- XhtmlBasicListAdapter.cs
- GridViewEditEventArgs.cs
- DetailsViewUpdatedEventArgs.cs
- SqlParameterCollection.cs
- ObjectDataSourceDisposingEventArgs.cs
- PathFigureCollection.cs
- BinaryObjectInfo.cs
- ExpressionCopier.cs
- PeerCollaboration.cs
- TextContainerChangedEventArgs.cs
- CollectionViewGroup.cs
- FileReservationCollection.cs
- DataRowExtensions.cs
- ManipulationInertiaStartingEventArgs.cs
- IsolatedStorage.cs
- Variable.cs
- LZCodec.cs
- CollectionMarkupSerializer.cs
- OptimalTextSource.cs
- BindingExpression.cs
- GestureRecognizer.cs