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 / Mapping / EntityViewGenerationAttribute.cs / 1 / 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
- PerformanceCounterPermissionAttribute.cs
- DictionaryContent.cs
- Stylus.cs
- XmlLanguageConverter.cs
- ToolStripStatusLabel.cs
- MaskDescriptors.cs
- MenuStrip.cs
- ArgumentDesigner.xaml.cs
- CustomWebEventKey.cs
- WindowHideOrCloseTracker.cs
- FirewallWrapper.cs
- DataBindingValueUIHandler.cs
- TableColumnCollectionInternal.cs
- UnsafeNativeMethods.cs
- HttpValueCollection.cs
- SqlFileStream.cs
- LiteralLink.cs
- JsonByteArrayDataContract.cs
- SiteIdentityPermission.cs
- Thread.cs
- ColumnPropertiesGroup.cs
- ControlUtil.cs
- CollectionContainer.cs
- RelatedEnd.cs
- Attributes.cs
- Clause.cs
- BackStopAuthenticationModule.cs
- ImageMap.cs
- InstanceHandleReference.cs
- GPPOINTF.cs
- SmiEventSink_DeferedProcessing.cs
- TableSectionStyle.cs
- ModifierKeysConverter.cs
- ResourceDefaultValueAttribute.cs
- XamlStream.cs
- WebPartCatalogCloseVerb.cs
- Container.cs
- StringAnimationUsingKeyFrames.cs
- ParserExtension.cs
- Operand.cs
- Thread.cs
- ColorPalette.cs
- ToolboxItemFilterAttribute.cs
- RadioButtonPopupAdapter.cs
- ToolStrip.cs
- InternalConfigSettingsFactory.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- GB18030Encoding.cs
- Timer.cs
- ForceCopyBuildProvider.cs
- StoreConnection.cs
- HtmlControl.cs
- Parsers.cs
- StrokeDescriptor.cs
- SystemTcpConnection.cs
- SplineKeyFrames.cs
- VariableElement.cs
- WindowsStreamSecurityElement.cs
- ProcessThreadDesigner.cs
- XmlTypeAttribute.cs
- TextTreeText.cs
- SignatureHelper.cs
- OrthographicCamera.cs
- SamlAdvice.cs
- WebServicesInteroperability.cs
- SafeMILHandle.cs
- TargetControlTypeAttribute.cs
- CursorConverter.cs
- TemplateComponentConnector.cs
- ControlBuilder.cs
- DLinqColumnProvider.cs
- PropertyChangedEventArgs.cs
- TraceListeners.cs
- SqlMetaData.cs
- SelectorAutomationPeer.cs
- Help.cs
- MD5.cs
- SafeBitVector32.cs
- GeometryDrawing.cs
- ProcessHostServerConfig.cs
- VolatileEnlistmentMultiplexing.cs
- ListCollectionView.cs
- StructuralType.cs
- CreateParams.cs
- __FastResourceComparer.cs
- MSAAWinEventWrap.cs
- SimpleType.cs
- CatalogPartChrome.cs
- IntegerFacetDescriptionElement.cs
- HtmlElementEventArgs.cs
- HitTestResult.cs
- TextServicesLoader.cs
- NameValueFileSectionHandler.cs
- XmlILModule.cs
- NamespaceMapping.cs
- HtmlTableCell.cs
- EncodingInfo.cs
- VideoDrawing.cs
- AstTree.cs
- JobStaple.cs