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
- SendMailErrorEventArgs.cs
- ChangeTracker.cs
- AssemblyResourceLoader.cs
- EntityCommandExecutionException.cs
- HtmlShim.cs
- ResourceLoader.cs
- InstanceStoreQueryResult.cs
- GeometryHitTestParameters.cs
- SQLBoolean.cs
- TypeInfo.cs
- _ProxyRegBlob.cs
- InkCanvas.cs
- unsafenativemethodsother.cs
- TimelineCollection.cs
- BeginEvent.cs
- JapaneseLunisolarCalendar.cs
- WaveHeader.cs
- TextAnchor.cs
- Opcode.cs
- BroadcastEventHelper.cs
- StringInfo.cs
- RtfFormatStack.cs
- FileSecurity.cs
- SafeRightsManagementQueryHandle.cs
- ApplicationException.cs
- MailAddressCollection.cs
- ExpressionPrinter.cs
- CryptographicAttribute.cs
- CodeTypeOfExpression.cs
- SerializationInfo.cs
- QilXmlReader.cs
- CompilerGeneratedAttribute.cs
- Events.cs
- AppDomainManager.cs
- RelatedCurrencyManager.cs
- SrgsRuleRef.cs
- CodeStatement.cs
- SymmetricAlgorithm.cs
- DebugView.cs
- FontSourceCollection.cs
- BaseDataList.cs
- UIElement3D.cs
- DPTypeDescriptorContext.cs
- SqlDataSourceConnectionPanel.cs
- NumberSubstitution.cs
- HuffmanTree.cs
- Documentation.cs
- XmlSchemaIdentityConstraint.cs
- TemplateControlParser.cs
- DateTimeConverter.cs
- PathSegmentCollection.cs
- ChannelBinding.cs
- Vector3DCollectionValueSerializer.cs
- CompilerTypeWithParams.cs
- ZipIOCentralDirectoryBlock.cs
- SerializationStore.cs
- ProfileGroupSettings.cs
- Wildcard.cs
- DataRecordInternal.cs
- TablePattern.cs
- DataGridViewRowsAddedEventArgs.cs
- ValidationPropertyAttribute.cs
- TextContainer.cs
- Calendar.cs
- SapiInterop.cs
- TraceContextEventArgs.cs
- ResXResourceSet.cs
- WizardStepBase.cs
- HwndAppCommandInputProvider.cs
- webbrowsersite.cs
- ChtmlTextWriter.cs
- ConnectivityStatus.cs
- XmlEncoding.cs
- DefaultEvaluationContext.cs
- FormClosedEvent.cs
- EntityDataSourceWizardForm.cs
- ListItemConverter.cs
- FileUtil.cs
- RecordBuilder.cs
- X509Utils.cs
- SqlRowUpdatingEvent.cs
- CustomPopupPlacement.cs
- SdlChannelSink.cs
- WebBrowser.cs
- TickBar.cs
- WebPartHelpVerb.cs
- ExecutedRoutedEventArgs.cs
- ListViewItemEventArgs.cs
- ping.cs
- Hashtable.cs
- Serializer.cs
- StringExpressionSet.cs
- SiteMapDataSource.cs
- Cursor.cs
- TraceUtils.cs
- ErrorEventArgs.cs
- infer.cs
- securitycriticaldataformultiplegetandset.cs
- EntitySetDataBindingList.cs
- MsmqIntegrationInputChannel.cs