Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Mapping / EntityViewGenerationAttribute.cs / 2 / EntityViewGenerationAttribute.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
using System;
namespace System.Data.Mapping
{
///
/// Attribute to mark the assemblies that contain the generated views type.
///
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class EntityViewGenerationAttribute : System.Attribute
{
#region Constructors
///
/// Constructor for EntityViewGenerationAttribute
///
public EntityViewGenerationAttribute(Type viewGenerationType)
{
EntityUtil.CheckArgumentNull(viewGenerationType, "viewGenType");
m_viewGenType = viewGenerationType;
}
#endregion
#region Fields
private Type m_viewGenType;
#endregion
#region Properties
public Type ViewGenerationType
{
get { return m_viewGenType; }
}
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
using System;
namespace System.Data.Mapping
{
///
/// Attribute to mark the assemblies that contain the generated views type.
///
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class EntityViewGenerationAttribute : System.Attribute
{
#region Constructors
///
/// Constructor for EntityViewGenerationAttribute
///
public EntityViewGenerationAttribute(Type viewGenerationType)
{
EntityUtil.CheckArgumentNull(viewGenerationType, "viewGenType");
m_viewGenType = viewGenerationType;
}
#endregion
#region Fields
private Type m_viewGenType;
#endregion
#region Properties
public Type ViewGenerationType
{
get { return m_viewGenType; }
}
#endregion
}
}
// 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
- ConfigurationPermission.cs
- InfoCardRequestException.cs
- SettingsPropertyValueCollection.cs
- SmtpReplyReader.cs
- AnnotationDocumentPaginator.cs
- RuleRefElement.cs
- WebControlParameterProxy.cs
- StringAnimationBase.cs
- ConfigurationSectionGroupCollection.cs
- arabicshape.cs
- DbConnectionPoolGroupProviderInfo.cs
- UserPreferenceChangedEventArgs.cs
- SeekableReadStream.cs
- Preprocessor.cs
- CompModHelpers.cs
- XmlElementList.cs
- KeyConstraint.cs
- CharEntityEncoderFallback.cs
- IdnElement.cs
- HttpListenerPrefixCollection.cs
- ValueTable.cs
- TextCompositionEventArgs.cs
- AttributeUsageAttribute.cs
- SqlUserDefinedTypeAttribute.cs
- ProtocolsConfigurationHandler.cs
- ToolStripDropDownItem.cs
- RemotingConfigParser.cs
- IUnknownConstantAttribute.cs
- ResourceReferenceExpressionConverter.cs
- SqlGenericUtil.cs
- EntityClientCacheKey.cs
- EllipseGeometry.cs
- UriScheme.cs
- activationcontext.cs
- XmlSchemaAnyAttribute.cs
- UserUseLicenseDictionaryLoader.cs
- UnauthorizedAccessException.cs
- PropertyChangingEventArgs.cs
- SqlConnectionStringBuilder.cs
- PointCollectionConverter.cs
- AppearanceEditorPart.cs
- PathFigureCollectionValueSerializer.cs
- SessionStateUtil.cs
- LineServices.cs
- SelectorAutomationPeer.cs
- OperationContractAttribute.cs
- InkPresenter.cs
- OdbcDataAdapter.cs
- DSACryptoServiceProvider.cs
- EventLogTraceListener.cs
- DBConcurrencyException.cs
- ContentValidator.cs
- PagesSection.cs
- CqlErrorHelper.cs
- RecordsAffectedEventArgs.cs
- TreeViewEvent.cs
- GenericEnumConverter.cs
- CellParagraph.cs
- WebBrowserNavigatingEventHandler.cs
- AmbiguousMatchException.cs
- IndependentlyAnimatedPropertyMetadata.cs
- InstanceCreationEditor.cs
- DataGridViewUtilities.cs
- ContextMenu.cs
- CheckedPointers.cs
- TreeIterators.cs
- XPathParser.cs
- ExternalException.cs
- RelationshipConstraintValidator.cs
- TypeConverter.cs
- WindowsTreeView.cs
- PlatformCulture.cs
- RbTree.cs
- PrintControllerWithStatusDialog.cs
- PointF.cs
- GenericParameterDataContract.cs
- RayHitTestParameters.cs
- TextStore.cs
- XmlAttributeHolder.cs
- ProxyElement.cs
- TransactionScope.cs
- RC2CryptoServiceProvider.cs
- MetadataSource.cs
- DefaultProxySection.cs
- COM2PropertyDescriptor.cs
- Graphics.cs
- CaseDesigner.xaml.cs
- FrameSecurityDescriptor.cs
- VersionValidator.cs
- AsyncInvokeOperation.cs
- MemberAccessException.cs
- IsolatedStoragePermission.cs
- Compiler.cs
- SendContent.cs
- FontUnit.cs
- RegionInfo.cs
- WindowsPen.cs
- HandlerFactoryCache.cs
- EntityProviderServices.cs
- ConfigurationErrorsException.cs