Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SmiTypedGetterSetter.cs
- TdsRecordBufferSetter.cs
- ToolboxItemCollection.cs
- ColorPalette.cs
- SetterBaseCollection.cs
- XmlTypeMapping.cs
- coordinatorscratchpad.cs
- TargetControlTypeCache.cs
- MemoryPressure.cs
- XamlInt32CollectionSerializer.cs
- ButtonChrome.cs
- BasicAsyncResult.cs
- StyleCollection.cs
- IList.cs
- IUnknownConstantAttribute.cs
- xsdvalidator.cs
- StringConverter.cs
- ConfigXmlCDataSection.cs
- TrackingServices.cs
- DataControlImageButton.cs
- ImmutableCollection.cs
- RelationshipType.cs
- TableSectionStyle.cs
- SemanticResolver.cs
- Menu.cs
- SchemaDeclBase.cs
- Vector3DIndependentAnimationStorage.cs
- Journal.cs
- BasePattern.cs
- WebPartUtil.cs
- PostBackOptions.cs
- BinaryCommonClasses.cs
- XpsFilter.cs
- Helpers.cs
- PaperSource.cs
- DesignerRegionCollection.cs
- UpdatePanelControlTrigger.cs
- Selector.cs
- OutOfMemoryException.cs
- HtmlInputCheckBox.cs
- TcpConnectionPool.cs
- RotationValidation.cs
- DebuggerAttributes.cs
- DynamicValidatorEventArgs.cs
- HostingEnvironmentWrapper.cs
- Pen.cs
- Activity.cs
- CqlErrorHelper.cs
- RelationalExpressions.cs
- QilInvokeEarlyBound.cs
- PeerOutputChannel.cs
- BitmapImage.cs
- XsdBuildProvider.cs
- EventWaitHandleSecurity.cs
- XPathDocument.cs
- TagPrefixInfo.cs
- LoginCancelEventArgs.cs
- UserPreferenceChangingEventArgs.cs
- DefaultValueAttribute.cs
- MarkerProperties.cs
- WindowsListView.cs
- PowerModeChangedEventArgs.cs
- Ipv6Element.cs
- BaseAutoFormat.cs
- CompositeDataBoundControl.cs
- MetaForeignKeyColumn.cs
- PermissionAttributes.cs
- assertwrapper.cs
- TransformDescriptor.cs
- Normalization.cs
- Maps.cs
- DataGridCommandEventArgs.cs
- ScrollItemPattern.cs
- InstanceDescriptor.cs
- XmlSchemaGroupRef.cs
- Transform3DGroup.cs
- MailMessageEventArgs.cs
- OleDbConnection.cs
- HttpException.cs
- ClientUrlResolverWrapper.cs
- SqlStatistics.cs
- ProcessManager.cs
- ChoiceConverter.cs
- ConfigurationElementCollection.cs
- BuildManagerHost.cs
- ArraySegment.cs
- contentDescriptor.cs
- HttpVersion.cs
- DataSourceControlBuilder.cs
- RowToParametersTransformer.cs
- CompressEmulationStream.cs
- XmlNamespaceDeclarationsAttribute.cs
- FlowLayoutPanel.cs
- ConnectionConsumerAttribute.cs
- TextSelectionHelper.cs
- SafeSecurityHandles.cs
- SoundPlayer.cs
- QueryCacheEntry.cs
- DatatypeImplementation.cs
- BitmapEffectDrawingContent.cs