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
- CustomCredentialPolicy.cs
- ManipulationStartedEventArgs.cs
- PackWebResponse.cs
- NullableConverter.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- BaseCodeDomTreeGenerator.cs
- ByteAnimationUsingKeyFrames.cs
- VirtualizedItemPattern.cs
- StrongNameSignatureInformation.cs
- WinEventHandler.cs
- X509Utils.cs
- CallInfo.cs
- _NegoStream.cs
- EntityContainer.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- XmlSchemaComplexContent.cs
- FusionWrap.cs
- PlanCompilerUtil.cs
- StreamSecurityUpgradeAcceptorBase.cs
- ClientSettingsStore.cs
- CqlWriter.cs
- AppDomainFactory.cs
- LookupBindingPropertiesAttribute.cs
- XPathArrayIterator.cs
- DataGridHeaderBorder.cs
- DataObjectMethodAttribute.cs
- ActivityBuilder.cs
- UnsafeNativeMethodsCLR.cs
- ResolveMatchesCD1.cs
- StringFreezingAttribute.cs
- SectionInput.cs
- TrackBarRenderer.cs
- ContainerFilterService.cs
- Stroke2.cs
- Visual3D.cs
- OdbcHandle.cs
- SpellerStatusTable.cs
- PublisherIdentityPermission.cs
- HtmlElement.cs
- ProtocolImporter.cs
- Pen.cs
- DomainUpDown.cs
- ValidatorCollection.cs
- ScriptControl.cs
- BookmarkScope.cs
- WebBaseEventKeyComparer.cs
- OleDbErrorCollection.cs
- GeneralTransform2DTo3D.cs
- XmlEncodedRawTextWriter.cs
- XhtmlStyleClass.cs
- HebrewNumber.cs
- FactoryId.cs
- DashStyle.cs
- RowTypeElement.cs
- DataGridViewColumnEventArgs.cs
- XPathDescendantIterator.cs
- X500Name.cs
- DiscoveryDefaults.cs
- WpfXamlLoader.cs
- MetadataExchangeClient.cs
- ByteViewer.cs
- QueryCacheEntry.cs
- FontWeight.cs
- LoginUtil.cs
- InputLangChangeEvent.cs
- SendMailErrorEventArgs.cs
- ProxyManager.cs
- CustomCredentialPolicy.cs
- FacetDescription.cs
- EastAsianLunisolarCalendar.cs
- ParameterCollectionEditorForm.cs
- WebConfigurationFileMap.cs
- StoreAnnotationsMap.cs
- X509CertificateCollection.cs
- PartManifestEntry.cs
- IndexExpression.cs
- DtdParser.cs
- AttributeUsageAttribute.cs
- InvokeHandlers.cs
- WindowsContainer.cs
- SizeIndependentAnimationStorage.cs
- TableLayoutStyleCollection.cs
- SystemColorTracker.cs
- XamlReader.cs
- CompilerErrorCollection.cs
- InputScopeAttribute.cs
- StrokeNode.cs
- BindingMemberInfo.cs
- WindowsSlider.cs
- X509RawDataKeyIdentifierClause.cs
- wmiprovider.cs
- Axis.cs
- ValueQuery.cs
- HelpKeywordAttribute.cs
- ListViewDeleteEventArgs.cs
- BaseTemplateParser.cs
- RewritingSimplifier.cs
- ConnectionsZone.cs
- StatusBarItem.cs
- OdbcPermission.cs