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
- WindowsListView.cs
- XmlTextReaderImpl.cs
- ExternalCalls.cs
- ExtensionQuery.cs
- BindToObject.cs
- PositiveTimeSpanValidatorAttribute.cs
- AncillaryOps.cs
- ListView.cs
- DoubleIndependentAnimationStorage.cs
- WebPartDescriptionCollection.cs
- InputLangChangeRequestEvent.cs
- ItemCheckedEvent.cs
- Span.cs
- UpdateManifestForBrowserApplication.cs
- HMACRIPEMD160.cs
- ExecutedRoutedEventArgs.cs
- Verify.cs
- SqlDataSourceCustomCommandPanel.cs
- ServiceHttpModule.cs
- TabPage.cs
- XmlDataImplementation.cs
- Part.cs
- TailPinnedEventArgs.cs
- coordinator.cs
- ListControlConvertEventArgs.cs
- DrawingContextFlattener.cs
- AmbientProperties.cs
- Axis.cs
- SortableBindingList.cs
- WebServiceClientProxyGenerator.cs
- CategoryAttribute.cs
- WinInetCache.cs
- BamlTreeUpdater.cs
- StaticSiteMapProvider.cs
- X509Certificate2Collection.cs
- altserialization.cs
- BackgroundWorker.cs
- HtmlElementCollection.cs
- Wow64ConfigurationLoader.cs
- LazyTextWriterCreator.cs
- ActivityBuilderHelper.cs
- DataTableMappingCollection.cs
- ValidationManager.cs
- SiteMapPathDesigner.cs
- ButtonRenderer.cs
- SQLBinary.cs
- MachineSettingsSection.cs
- UnaryQueryOperator.cs
- DesignerTextBoxAdapter.cs
- UnaryExpressionHelper.cs
- SiteMapPath.cs
- ReadOnlyDictionary.cs
- ResourceReferenceKeyNotFoundException.cs
- PageParser.cs
- TextEditorContextMenu.cs
- Expressions.cs
- AnonymousIdentificationSection.cs
- RsaSecurityToken.cs
- TypeElement.cs
- TextCompositionManager.cs
- RightsManagementEncryptionTransform.cs
- SizeAnimationClockResource.cs
- Error.cs
- ChangeToolStripParentVerb.cs
- MetadataArtifactLoaderFile.cs
- ReflectPropertyDescriptor.cs
- ApplicationServicesHostFactory.cs
- SimpleWebHandlerParser.cs
- NameHandler.cs
- ExceptionRoutedEventArgs.cs
- SchemaTypeEmitter.cs
- SuppressMergeCheckAttribute.cs
- ServicesUtilities.cs
- WinFormsSecurity.cs
- SafeMILHandle.cs
- SystemResourceKey.cs
- SQLGuidStorage.cs
- ResourcePool.cs
- ImageSourceConverter.cs
- ObjectCache.cs
- WpfKnownMemberInvoker.cs
- LinkedResourceCollection.cs
- QilLiteral.cs
- FamilyCollection.cs
- FlowDocumentReader.cs
- CodeSubDirectory.cs
- ChangePassword.cs
- ControlAdapter.cs
- AdRotator.cs
- BatchWriter.cs
- AsymmetricSignatureDeformatter.cs
- SizeF.cs
- DNS.cs
- JapaneseLunisolarCalendar.cs
- LinkButton.cs
- CodeExporter.cs
- HttpMethodAttribute.cs
- LongCountAggregationOperator.cs
- InvalidWMPVersionException.cs
- GridEntryCollection.cs