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
- HandlerMappingMemo.cs
- MasterPage.cs
- ColumnResizeUndoUnit.cs
- DataGridViewLinkColumn.cs
- PackageFilter.cs
- ConfigXmlDocument.cs
- EventsTab.cs
- PrintDialog.cs
- Vector3D.cs
- DebugView.cs
- ReflectPropertyDescriptor.cs
- DispatcherHookEventArgs.cs
- View.cs
- DataGridPagerStyle.cs
- SmtpNtlmAuthenticationModule.cs
- ChannelServices.cs
- SelfIssuedAuthRSACryptoProvider.cs
- ScriptReferenceEventArgs.cs
- ComponentResourceKey.cs
- FlowPosition.cs
- TextPattern.cs
- PersistenceTypeAttribute.cs
- WindowsGraphicsWrapper.cs
- LineBreakRecord.cs
- OracleConnection.cs
- XmlILOptimizerVisitor.cs
- SourceFileBuildProvider.cs
- Scheduler.cs
- NullReferenceException.cs
- WebScriptMetadataMessageEncoderFactory.cs
- DataContext.cs
- ClearTypeHintValidation.cs
- DbProviderFactoriesConfigurationHandler.cs
- SamlDoNotCacheCondition.cs
- DynamicDiscoveryDocument.cs
- CapabilitiesSection.cs
- DataSet.cs
- DataSourceControl.cs
- EventsTab.cs
- ping.cs
- FrameworkContentElement.cs
- TreeNode.cs
- SelectedDatesCollection.cs
- DiffuseMaterial.cs
- SoapInteropTypes.cs
- TCEAdapterGenerator.cs
- XslUrlEditor.cs
- HistoryEventArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- UnmanagedMemoryStreamWrapper.cs
- mactripleDES.cs
- CommandCollectionEditor.cs
- SqlExpressionNullability.cs
- CacheEntry.cs
- CheckableControlBaseAdapter.cs
- DefaultPrintController.cs
- AuthorizationContext.cs
- EnumBuilder.cs
- DuplicateMessageDetector.cs
- Trace.cs
- MissingMethodException.cs
- ClientBuildManagerCallback.cs
- DataGridViewUtilities.cs
- Light.cs
- BindToObject.cs
- CodeGroup.cs
- OrderedHashRepartitionStream.cs
- Triangle.cs
- QueryStringHandler.cs
- MethodBuilderInstantiation.cs
- BrowserCapabilitiesFactory.cs
- PrintDialogException.cs
- DefaultDiscoveryServiceExtension.cs
- CurrentChangingEventArgs.cs
- PersonalizablePropertyEntry.cs
- DispatchOperationRuntime.cs
- ReadOnlyDataSourceView.cs
- AxParameterData.cs
- InputEventArgs.cs
- DateTimeValueSerializer.cs
- MethodBuilder.cs
- IUnknownConstantAttribute.cs
- HwndKeyboardInputProvider.cs
- OneOf.cs
- ListViewItem.cs
- SiteMapNodeItemEventArgs.cs
- AnonymousIdentificationModule.cs
- ProcessInputEventArgs.cs
- SocketPermission.cs
- ObjectAnimationBase.cs
- ReflectionServiceProvider.cs
- ComPlusInstanceContextInitializer.cs
- SchemaImporterExtensionElement.cs
- TypeConverterHelper.cs
- XmlSchemaGroup.cs
- RSAPKCS1SignatureDeformatter.cs
- PropertyRef.cs
- DBSqlParserColumnCollection.cs
- Receive.cs
- XmlDataSource.cs