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 / CreateRefExpr.cs / 1 / CreateRefExpr.cs
//----------------------------------------------------------------------
//
// Copyproperty (c) Microsoft Corporation. All propertys reserved.
//
//
// @owner [....]
// @backup [....]
//---------------------------------------------------------------------
namespace System.Data.Common.EntitySql
{
using System;
using System.Globalization;
using System.Collections;
using System.Collections.Generic;
///
/// Represents CREATEREF expression
/// createref( entitySet, keys )
///
internal sealed class CreateRefExpr : Expr
{
private Expr _entitySet;
private Expr _keys;
private Expr _typeIdentifier;
///
/// Initializes CreateRefExpr
///
/// expression representing the entity set
///
internal CreateRefExpr( Expr entitySet, Expr keys )
{
_entitySet = entitySet;
_keys = keys;
}
///
/// Initializes CreateRefExpr
///
///
///
///
internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier )
{
_entitySet = entitySet;
_keys = keys;
_typeIdentifier = typeIdentifier;
}
///
/// return the expression for the entity set
///
internal Expr EntitySet
{
get { return _entitySet; }
}
///
/// returns the expression for the keys
///
internal Expr Keys
{
get { return _keys; }
}
///
/// gets typeidentifier if exists
///
internal Expr TypeIdentifier
{
get { return _typeIdentifier; }
}
}
///
/// Represents KEY expression
/// key( expr )
///
internal class KeyExpr : Expr
{
private Expr _refExpr;
///
/// initializes KEY expression
///
///
internal KeyExpr( Expr refExpr )
{
_refExpr = refExpr;
}
///
/// returns ref inner expression
///
internal Expr RefExpr
{
get { return _refExpr; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------
//
// Copyproperty (c) Microsoft Corporation. All propertys reserved.
//
//
// @owner [....]
// @backup [....]
//---------------------------------------------------------------------
namespace System.Data.Common.EntitySql
{
using System;
using System.Globalization;
using System.Collections;
using System.Collections.Generic;
///
/// Represents CREATEREF expression
/// createref( entitySet, keys )
///
internal sealed class CreateRefExpr : Expr
{
private Expr _entitySet;
private Expr _keys;
private Expr _typeIdentifier;
///
/// Initializes CreateRefExpr
///
/// expression representing the entity set
///
internal CreateRefExpr( Expr entitySet, Expr keys )
{
_entitySet = entitySet;
_keys = keys;
}
///
/// Initializes CreateRefExpr
///
///
///
///
internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier )
{
_entitySet = entitySet;
_keys = keys;
_typeIdentifier = typeIdentifier;
}
///
/// return the expression for the entity set
///
internal Expr EntitySet
{
get { return _entitySet; }
}
///
/// returns the expression for the keys
///
internal Expr Keys
{
get { return _keys; }
}
///
/// gets typeidentifier if exists
///
internal Expr TypeIdentifier
{
get { return _typeIdentifier; }
}
}
///
/// Represents KEY expression
/// key( expr )
///
internal class KeyExpr : Expr
{
private Expr _refExpr;
///
/// initializes KEY expression
///
///
internal KeyExpr( Expr refExpr )
{
_refExpr = refExpr;
}
///
/// returns ref inner expression
///
internal Expr RefExpr
{
get { return _refExpr; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScaleTransform.cs
- MsmqBindingFilter.cs
- XmlArrayItemAttribute.cs
- PauseStoryboard.cs
- DataListComponentEditor.cs
- ThreadExceptionDialog.cs
- DataSysAttribute.cs
- versioninfo.cs
- PartialCachingAttribute.cs
- QueryCursorEventArgs.cs
- WmlLiteralTextAdapter.cs
- DragEventArgs.cs
- IPPacketInformation.cs
- SynchronizationValidator.cs
- AttachmentService.cs
- PropertyDescriptor.cs
- QueryExpression.cs
- WbemException.cs
- FormViewActionList.cs
- ImageCodecInfoPrivate.cs
- JulianCalendar.cs
- CommandBindingCollection.cs
- _CommandStream.cs
- XmlNullResolver.cs
- XhtmlConformanceSection.cs
- AQNBuilder.cs
- SupportsPreviewControlAttribute.cs
- MsmqDecodeHelper.cs
- SingleQueryOperator.cs
- DetailsViewUpdateEventArgs.cs
- DataSet.cs
- XmlSignatureProperties.cs
- SoapReflectionImporter.cs
- ThemeDictionaryExtension.cs
- WorkflowOperationAsyncResult.cs
- HiddenFieldPageStatePersister.cs
- EntityUtil.cs
- ListBoxItem.cs
- Separator.cs
- SoapExtensionReflector.cs
- TextFindEngine.cs
- BezierSegment.cs
- InternalResources.cs
- SyntaxCheck.cs
- PackWebRequestFactory.cs
- Executor.cs
- X509Certificate.cs
- MergeFilterQuery.cs
- _DigestClient.cs
- FileNotFoundException.cs
- FormatSelectingMessageInspector.cs
- CatalogPart.cs
- EventProvider.cs
- SafeProcessHandle.cs
- SHA256CryptoServiceProvider.cs
- HttpCapabilitiesSectionHandler.cs
- EventRouteFactory.cs
- PartialCachingAttribute.cs
- DataGridItemAutomationPeer.cs
- ThreadAttributes.cs
- TaiwanCalendar.cs
- SerializableAttribute.cs
- HierarchicalDataTemplate.cs
- BatchServiceHost.cs
- DataRowView.cs
- CacheEntry.cs
- CapabilitiesPattern.cs
- TextPatternIdentifiers.cs
- BinarySecretKeyIdentifierClause.cs
- HostedHttpTransportManager.cs
- Selection.cs
- StrokeNodeEnumerator.cs
- FormViewPagerRow.cs
- LocatorPartList.cs
- DependentList.cs
- SoapSchemaExporter.cs
- EmptyElement.cs
- HttpEncoder.cs
- FactoryRecord.cs
- PhysicalAddress.cs
- TypeSystem.cs
- VarInfo.cs
- NetSectionGroup.cs
- LinqDataSourceDisposeEventArgs.cs
- HTMLTextWriter.cs
- DiscoveryMessageSequence.cs
- XmlBaseWriter.cs
- Int32CollectionValueSerializer.cs
- TextBox.cs
- SelectionProviderWrapper.cs
- LinkLabel.cs
- Section.cs
- SeparatorAutomationPeer.cs
- DetailsViewRowCollection.cs
- CultureSpecificCharacterBufferRange.cs
- OptimizerPatterns.cs
- ObjectDataSourceStatusEventArgs.cs
- ReadOnlyDataSourceView.cs
- FragmentQuery.cs
- PointValueSerializer.cs