Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / EntityViewGenerationAttribute.cs / 1305376 / 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
- DataStreamFromComStream.cs
- ModelTypeConverter.cs
- EntityWithChangeTrackerStrategy.cs
- BackStopAuthenticationModule.cs
- HtmlSelect.cs
- WebPartVerb.cs
- CodeCommentStatement.cs
- StylusEditingBehavior.cs
- Models.cs
- ChameleonKey.cs
- TreeViewTemplateSelector.cs
- PageContent.cs
- AnnotationResource.cs
- ProgressBar.cs
- GroupByExpressionRewriter.cs
- CssClassPropertyAttribute.cs
- StringValueConverter.cs
- DocumentApplication.cs
- followingsibling.cs
- MarkedHighlightComponent.cs
- _Events.cs
- CommandSet.cs
- TextDecorationCollection.cs
- WorkflowDesignerColors.cs
- WebRequestModuleElement.cs
- CollectionEditor.cs
- CustomTypeDescriptor.cs
- DataExpression.cs
- NativeMethodsCLR.cs
- ZipIOBlockManager.cs
- AuthenticationException.cs
- SqlDataSourceParameterParser.cs
- XPathNodeInfoAtom.cs
- ResourceBinder.cs
- CrossContextChannel.cs
- FormClosedEvent.cs
- WebPartZoneCollection.cs
- KeyManager.cs
- BufferedStream.cs
- hebrewshape.cs
- PlainXmlSerializer.cs
- ProxyWebPartConnectionCollection.cs
- VectorAnimation.cs
- CompiledQuery.cs
- CompositeFontInfo.cs
- ThreadBehavior.cs
- Itemizer.cs
- XmlAtomicValue.cs
- PersistenceProviderFactory.cs
- ContextStaticAttribute.cs
- ToolStripArrowRenderEventArgs.cs
- XmlIgnoreAttribute.cs
- WorkflowRequestContext.cs
- SrgsText.cs
- RegisteredDisposeScript.cs
- AutomationFocusChangedEventArgs.cs
- FacetChecker.cs
- SEHException.cs
- ToolboxItemAttribute.cs
- XmlStreamStore.cs
- FtpWebResponse.cs
- GlyphingCache.cs
- ChainOfResponsibility.cs
- Converter.cs
- LinqDataSource.cs
- HtmlShim.cs
- SHA384.cs
- RadialGradientBrush.cs
- ItemCollectionEditor.cs
- TranslateTransform.cs
- NavigationWindowAutomationPeer.cs
- CollectionViewGroup.cs
- Separator.cs
- VirtualStackFrame.cs
- LambdaCompiler.ControlFlow.cs
- ConstraintManager.cs
- LoaderAllocator.cs
- AggregateNode.cs
- DateTimeConstantAttribute.cs
- SizeF.cs
- SingleSelectRootGridEntry.cs
- PasswordTextNavigator.cs
- ComplexObject.cs
- XamlStream.cs
- Decorator.cs
- BitmapVisualManager.cs
- ServiceDiscoveryElement.cs
- DbParameterCollectionHelper.cs
- Column.cs
- DrawingAttributesDefaultValueFactory.cs
- InstanceData.cs
- DbConnectionClosed.cs
- ImageIndexConverter.cs
- ListViewItemEventArgs.cs
- Exceptions.cs
- ContractReference.cs
- ComboBox.cs
- StylusPointPropertyInfoDefaults.cs
- LinqDataSourceHelper.cs
- ContextMenu.cs