Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / FilterQueryOptionExpression.cs / 2 / FilterQueryOptionExpression.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Respresents a filter query option in resource bound expression tree.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System;
using System.Linq.Expressions;
///
/// An resource specific expression representing a filter query option.
///
internal class FilterQueryOptionExpression : QueryOptionExpression
{
/// predicate
private Expression predicate;
///
/// Creates a FilterQueryOptionExpression expression
///
/// the return type of the expression
/// the predicate
internal FilterQueryOptionExpression(Type type, Expression predicate)
: base((ExpressionType)ResourceExpressionType.FilterQueryOption, type)
{
this.predicate = predicate;
}
/// Gets the query option value.
internal Expression Predicate
{
get
{
return this.predicate;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Respresents a filter query option in resource bound expression tree.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System;
using System.Linq.Expressions;
///
/// An resource specific expression representing a filter query option.
///
internal class FilterQueryOptionExpression : QueryOptionExpression
{
/// predicate
private Expression predicate;
///
/// Creates a FilterQueryOptionExpression expression
///
/// the return type of the expression
/// the predicate
internal FilterQueryOptionExpression(Type type, Expression predicate)
: base((ExpressionType)ResourceExpressionType.FilterQueryOption, type)
{
this.predicate = predicate;
}
/// Gets the query option value.
internal Expression Predicate
{
get
{
return this.predicate;
}
}
}
}
// 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
- HwndSourceKeyboardInputSite.cs
- HMACSHA512.cs
- AppSettingsReader.cs
- RefreshEventArgs.cs
- ExtenderHelpers.cs
- MetricEntry.cs
- RangeValueProviderWrapper.cs
- StatusBarItem.cs
- AbsoluteQuery.cs
- XmlSchemaSimpleContentRestriction.cs
- LinqDataSourceSelectEventArgs.cs
- CopyAction.cs
- Activator.cs
- XmlSchemaIdentityConstraint.cs
- SoapHeaderAttribute.cs
- UrlPropertyAttribute.cs
- PermissionSet.cs
- ConditionChanges.cs
- SamlConditions.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- TrustSection.cs
- SrgsToken.cs
- Pts.cs
- TreeWalkHelper.cs
- BindingExpressionUncommonField.cs
- PrePrepareMethodAttribute.cs
- ToolStripControlHost.cs
- SqlTrackingWorkflowInstance.cs
- OutputScope.cs
- ParseNumbers.cs
- Command.cs
- CultureTable.cs
- IndexedGlyphRun.cs
- CryptoConfig.cs
- MissingMemberException.cs
- RayHitTestParameters.cs
- PropertyItemInternal.cs
- PipeConnection.cs
- ReadWriteObjectLock.cs
- MailMessage.cs
- SqlExpander.cs
- SafeProcessHandle.cs
- ProviderBase.cs
- SignedInfo.cs
- TriggerAction.cs
- SourceFilter.cs
- ListViewDataItem.cs
- AutomationElementCollection.cs
- DisplayNameAttribute.cs
- Random.cs
- StdValidatorsAndConverters.cs
- WorkflowRuntimeSection.cs
- XmlUtf8RawTextWriter.cs
- LabelInfo.cs
- ConnectionStringSettingsCollection.cs
- DataGridViewCellCollection.cs
- CodeConstructor.cs
- EncoderParameter.cs
- PrimarySelectionAdorner.cs
- MailBnfHelper.cs
- CodeDomExtensionMethods.cs
- SystemUnicastIPAddressInformation.cs
- EventToken.cs
- Vector.cs
- documentation.cs
- SrgsSemanticInterpretationTag.cs
- EntitySetRetriever.cs
- ContentHostHelper.cs
- UTF8Encoding.cs
- DelegateArgumentReference.cs
- Or.cs
- UnsafeNativeMethodsCLR.cs
- _Win32.cs
- AdRotator.cs
- HwndKeyboardInputProvider.cs
- ComponentChangingEvent.cs
- ViewBox.cs
- ContainerParagraph.cs
- AttachedAnnotation.cs
- WeakRefEnumerator.cs
- PerformanceCounter.cs
- DataListItemEventArgs.cs
- SoapAttributeAttribute.cs
- DecodeHelper.cs
- MatrixUtil.cs
- RolePrincipal.cs
- UnsafeNativeMethods.cs
- ExtensionWindow.cs
- HttpInputStream.cs
- DictionarySectionHandler.cs
- SiteMapNodeItem.cs
- SpellerError.cs
- SchemaDeclBase.cs
- ScrollItemPatternIdentifiers.cs
- XpsFixedPageReaderWriter.cs
- Brush.cs
- CollectionChangeEventArgs.cs
- ObjectDisposedException.cs
- SecurityContext.cs
- CodeSubDirectoriesCollection.cs