Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DebugHandleTracker.cs
- DataGridRelationshipRow.cs
- OutputCacheSection.cs
- TargetConverter.cs
- ByteRangeDownloader.cs
- activationcontext.cs
- DictionaryTraceRecord.cs
- CompoundFileIOPermission.cs
- CodeTypeReferenceSerializer.cs
- ItemMap.cs
- EffectiveValueEntry.cs
- ExtractCollection.cs
- ProfileModule.cs
- ContextMenuStrip.cs
- ResourceDescriptionAttribute.cs
- BamlLocalizer.cs
- NumericPagerField.cs
- DataGridPageChangedEventArgs.cs
- GlyphsSerializer.cs
- remotingproxy.cs
- DataGridBeginningEditEventArgs.cs
- WindowsMenu.cs
- UniqueSet.cs
- CollectionCodeDomSerializer.cs
- JournalEntryStack.cs
- NumberAction.cs
- DataKeyCollection.cs
- HtmlHead.cs
- XPathNode.cs
- Keyboard.cs
- Border.cs
- TextAdaptor.cs
- DotAtomReader.cs
- CustomAssemblyResolver.cs
- COAUTHINFO.cs
- CodeDomComponentSerializationService.cs
- WorkflowPageSetupDialog.cs
- EncoderReplacementFallback.cs
- ExtensibleClassFactory.cs
- ECDiffieHellman.cs
- SchemaElementLookUpTableEnumerator.cs
- TextAdaptor.cs
- FileEnumerator.cs
- StringOutput.cs
- WebPartTransformerAttribute.cs
- StateMachineSubscription.cs
- ForeignConstraint.cs
- ZipIOFileItemStream.cs
- JournalEntryListConverter.cs
- NameValuePair.cs
- RootBuilder.cs
- MarkupObject.cs
- DataGridViewCellFormattingEventArgs.cs
- DefaultProxySection.cs
- SHA256.cs
- Base64Encoder.cs
- DynamicResourceExtensionConverter.cs
- AmbientValueAttribute.cs
- DelegateArgument.cs
- ComplexTypeEmitter.cs
- WorkflowRuntimeServiceElementCollection.cs
- Claim.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- NestedContainer.cs
- TypeGeneratedEventArgs.cs
- Property.cs
- HostProtectionPermission.cs
- EmptyEnumerable.cs
- TextEditorThreadLocalStore.cs
- XmlWhitespace.cs
- GacUtil.cs
- PrimitiveType.cs
- COM2Enum.cs
- Validator.cs
- CommandSet.cs
- SingleResultAttribute.cs
- SymDocumentType.cs
- KeyEvent.cs
- LockedHandleGlyph.cs
- NavigationProgressEventArgs.cs
- IntSecurity.cs
- PathSegment.cs
- CngAlgorithm.cs
- DNS.cs
- ActiveXHost.cs
- XmlBoundElement.cs
- DataObjectAttribute.cs
- RankException.cs
- _OverlappedAsyncResult.cs
- OutArgumentConverter.cs
- UndoEngine.cs
- TextServicesManager.cs
- WindowsStartMenu.cs
- DefaultWorkflowSchedulerService.cs
- FatalException.cs
- Tracking.cs
- EmissiveMaterial.cs
- CopyAction.cs
- RecommendedAsConfigurableAttribute.cs
- BitmapEffectGeneralTransform.cs