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
- LabelLiteral.cs
- WindowsPen.cs
- MultiSelectRootGridEntry.cs
- XmlWrappingReader.cs
- ActivationServices.cs
- PasswordDeriveBytes.cs
- StorageEntityTypeMapping.cs
- RadioButtonPopupAdapter.cs
- RealProxy.cs
- BaseValidator.cs
- ChildrenQuery.cs
- OleDbInfoMessageEvent.cs
- DelegateHelpers.cs
- SetterBase.cs
- SamlAttributeStatement.cs
- TailPinnedEventArgs.cs
- DataTableMappingCollection.cs
- Exceptions.cs
- FtpRequestCacheValidator.cs
- PreDigestedSignedInfo.cs
- NodeInfo.cs
- MonthCalendarDesigner.cs
- SiteMapNodeCollection.cs
- Point4D.cs
- Drawing.cs
- HandledEventArgs.cs
- SettingsPropertyIsReadOnlyException.cs
- ProxyWebPart.cs
- PageContentAsyncResult.cs
- HttpClientProtocol.cs
- SignatureTargetIdManager.cs
- XmlSchemaNotation.cs
- PointAnimationClockResource.cs
- BitmapPalettes.cs
- MachineSettingsSection.cs
- SourceInterpreter.cs
- BamlLocalizabilityResolver.cs
- RemoteX509Token.cs
- SerializationException.cs
- ScaleTransform3D.cs
- StylusButtonEventArgs.cs
- SplineKeyFrames.cs
- XsdCachingReader.cs
- TraceFilter.cs
- SimpleType.cs
- XhtmlStyleClass.cs
- FigureParagraph.cs
- ByteArrayHelperWithString.cs
- SessionStateContainer.cs
- Persist.cs
- NamedPipeTransportManager.cs
- DataReaderContainer.cs
- CodeNamespaceImport.cs
- Helpers.cs
- WebEvents.cs
- TranslateTransform3D.cs
- complextypematerializer.cs
- ListDictionary.cs
- AutoResizedEvent.cs
- OutputScopeManager.cs
- ContentType.cs
- MimeParameters.cs
- CompositeFontInfo.cs
- BinaryNode.cs
- CacheDict.cs
- TableRow.cs
- SafeFileMappingHandle.cs
- TreeViewDesigner.cs
- TemplateBuilder.cs
- LayoutEvent.cs
- MediaElementAutomationPeer.cs
- LongValidatorAttribute.cs
- JsonWriterDelegator.cs
- ObjRef.cs
- HotSpot.cs
- SqlInternalConnectionSmi.cs
- DateTimeParse.cs
- MetadataCache.cs
- ValidatorUtils.cs
- PrintDialogException.cs
- XmlDataSource.cs
- SettingsContext.cs
- RouteUrlExpressionBuilder.cs
- DeferredElementTreeState.cs
- Expressions.cs
- CodeDefaultValueExpression.cs
- DisplayMemberTemplateSelector.cs
- DocumentOrderQuery.cs
- GenericTypeParameterBuilder.cs
- EdgeProfileValidation.cs
- ReadOnlyDataSource.cs
- InplaceBitmapMetadataWriter.cs
- Vector3DKeyFrameCollection.cs
- Span.cs
- StandardRuntimeEnumValidatorAttribute.cs
- WorkflowRuntime.cs
- ArrangedElementCollection.cs
- WindowsFont.cs
- EventProviderWriter.cs
- EntityChangedParams.cs