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
- VisualStyleInformation.cs
- odbcmetadatacollectionnames.cs
- ErrorTableItemStyle.cs
- DataGridViewRowPostPaintEventArgs.cs
- DbProviderFactoriesConfigurationHandler.cs
- ContentFileHelper.cs
- ConditionalWeakTable.cs
- FilterQueryOptionExpression.cs
- OptionalColumn.cs
- Baml2006ReaderSettings.cs
- UserMapPath.cs
- DataGridLinkButton.cs
- TypeDescriptor.cs
- EntityContainerAssociationSet.cs
- SoapMessage.cs
- WS2007FederationHttpBinding.cs
- CalendarTable.cs
- XmlNavigatorStack.cs
- basenumberconverter.cs
- ServiceHostingEnvironment.cs
- FlowStep.cs
- DateTimeValueSerializerContext.cs
- SinglePageViewer.cs
- RoleGroupCollection.cs
- ProxyAttribute.cs
- OrderByBuilder.cs
- DbException.cs
- NamespaceMapping.cs
- RelationshipEndMember.cs
- ListManagerBindingsCollection.cs
- LineInfo.cs
- CodeAttributeDeclarationCollection.cs
- HttpHandler.cs
- odbcmetadatafactory.cs
- GeometryGroup.cs
- XmlIterators.cs
- ScriptHandlerFactory.cs
- SemaphoreFullException.cs
- Propagator.cs
- NamedElement.cs
- DayRenderEvent.cs
- RadioButtonAutomationPeer.cs
- DBBindings.cs
- PnrpPermission.cs
- StateMachineSubscriptionManager.cs
- FlowLayoutSettings.cs
- XmlSchemaAll.cs
- SecurityElement.cs
- ConfigurationManager.cs
- RTLAwareMessageBox.cs
- RepeatButtonAutomationPeer.cs
- sapiproxy.cs
- ActivityCodeDomSerializer.cs
- SRGSCompiler.cs
- DataObjectMethodAttribute.cs
- InkCanvasInnerCanvas.cs
- ElapsedEventArgs.cs
- RegexFCD.cs
- FormsAuthenticationConfiguration.cs
- ResourceDictionary.cs
- WindowsListViewScroll.cs
- DataGridViewRowCancelEventArgs.cs
- RectangleF.cs
- TextRunProperties.cs
- MemoryFailPoint.cs
- CodeAttachEventStatement.cs
- BrowsableAttribute.cs
- HttpDebugHandler.cs
- SR.Designer.cs
- Grant.cs
- GenericsInstances.cs
- GraphicsPath.cs
- IndentedTextWriter.cs
- RemoteWebConfigurationHostServer.cs
- StreamWithDictionary.cs
- DataGridViewColumnCollection.cs
- Annotation.cs
- DropShadowBitmapEffect.cs
- DefaultDialogButtons.cs
- TemplateBaseAction.cs
- PageSettings.cs
- CopyCodeAction.cs
- BCryptSafeHandles.cs
- SerializationUtility.cs
- ListViewItem.cs
- BrowserCapabilitiesFactoryBase.cs
- RootNamespaceAttribute.cs
- Ipv6Element.cs
- MessageEncodingBindingElementImporter.cs
- DeflateStream.cs
- DesignerEditorPartChrome.cs
- AbstractExpressions.cs
- XPathMultyIterator.cs
- PropertyStore.cs
- WindowsAuthenticationModule.cs
- FileDetails.cs
- Stackframe.cs
- ZoomingMessageFilter.cs
- PropertyDescriptorCollection.cs
- FontEmbeddingManager.cs