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
- TreeWalker.cs
- PrivilegedConfigurationManager.cs
- InputScopeAttribute.cs
- LocatorManager.cs
- Parsers.cs
- DynamicDataResources.Designer.cs
- WorkflowDesigner.cs
- JsonObjectDataContract.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ViewRendering.cs
- WaitHandle.cs
- TypeLibConverter.cs
- Pool.cs
- RadioButtonList.cs
- LinqMaximalSubtreeNominator.cs
- SafeSystemMetrics.cs
- AutoGeneratedFieldProperties.cs
- EpmContentSerializerBase.cs
- ExpandableObjectConverter.cs
- AssemblyBuilderData.cs
- XamlTypeWithExplicitNamespace.cs
- ImageInfo.cs
- DbParameterCollectionHelper.cs
- ProjectionCamera.cs
- DetailsViewDeletedEventArgs.cs
- DoubleIndependentAnimationStorage.cs
- SQLConvert.cs
- ReadOnlyDictionary.cs
- UntrustedRecipientException.cs
- IISMapPath.cs
- DockAndAnchorLayout.cs
- TransactionManagerProxy.cs
- BufferModeSettings.cs
- OleDbPropertySetGuid.cs
- HtmlElementErrorEventArgs.cs
- CodeExporter.cs
- ResourceContainer.cs
- VirtualDirectoryMapping.cs
- Helper.cs
- RenderingEventArgs.cs
- ScrollProviderWrapper.cs
- DeviceContexts.cs
- DebugManager.cs
- Socket.cs
- RuntimeResourceSet.cs
- ListMarkerLine.cs
- HwndProxyElementProvider.cs
- DbConnectionStringCommon.cs
- ReadOnlyCollection.cs
- IntSecurity.cs
- AccessText.cs
- SQLDecimal.cs
- DecoderReplacementFallback.cs
- GZipDecoder.cs
- TypedRowHandler.cs
- PrintDialog.cs
- ZipPackagePart.cs
- UserControl.cs
- DataPager.cs
- StorageMappingItemCollection.cs
- ProvidersHelper.cs
- ObsoleteAttribute.cs
- SqlMethodAttribute.cs
- DBNull.cs
- UserControlCodeDomTreeGenerator.cs
- TextTrailingWordEllipsis.cs
- CapabilitiesPattern.cs
- HandlerFactoryCache.cs
- CharacterBufferReference.cs
- ComponentResourceManager.cs
- PointF.cs
- ToolBarOverflowPanel.cs
- FieldNameLookup.cs
- HostingEnvironment.cs
- CustomTypeDescriptor.cs
- FormsAuthenticationTicket.cs
- BaseInfoTable.cs
- DataGridView.cs
- FileSecurity.cs
- TraceHwndHost.cs
- ClaimTypes.cs
- WebPartDescription.cs
- NativeMethods.cs
- ErrorWrapper.cs
- ClockController.cs
- PropertyTabAttribute.cs
- Parameter.cs
- ComUdtElement.cs
- arc.cs
- TextSpanModifier.cs
- SqlColumnizer.cs
- EventEntry.cs
- Message.cs
- recordstate.cs
- ActivityDesignerLayoutSerializers.cs
- MemberPathMap.cs
- ResourceDisplayNameAttribute.cs
- NonVisualControlAttribute.cs
- MinimizableAttributeTypeConverter.cs
- TextParagraphView.cs