Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / MappingModelBuildProvider.cs / 1305376 / MappingModelBuildProvider.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.CodeDom; using System.CodeDom.Compiler; using System.Globalization; using System.Web; using System.Web.Hosting; using System.Web.Compilation; namespace System.Data.Entity.Design.AspNet { ////// The ASP .NET Build provider for the MSL in ADO .NET /// /// [BuildProviderAppliesTo(BuildProviderAppliesTo.Code)] public class MappingModelBuildProvider : System.Web.Compilation.BuildProvider { ////// Default constructor /// public MappingModelBuildProvider() { } ////// We want ASP .NET to always reset the app domain when we have to rebuild /// /// ///public override BuildProviderResultFlags GetResultFlags(CompilerResults results) { return BuildProviderResultFlags.ShutdownAppDomainOnChange; } /// /// /// /// public override void GenerateCode(AssemblyBuilder assemblyBuilder) { BuildProviderUtils.AddArtifactReference(assemblyBuilder, this, base.VirtualPath); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.CodeDom; using System.CodeDom.Compiler; using System.Globalization; using System.Web; using System.Web.Hosting; using System.Web.Compilation; namespace System.Data.Entity.Design.AspNet { ////// The ASP .NET Build provider for the MSL in ADO .NET /// /// [BuildProviderAppliesTo(BuildProviderAppliesTo.Code)] public class MappingModelBuildProvider : System.Web.Compilation.BuildProvider { ////// Default constructor /// public MappingModelBuildProvider() { } ////// We want ASP .NET to always reset the app domain when we have to rebuild /// /// ///public override BuildProviderResultFlags GetResultFlags(CompilerResults results) { return BuildProviderResultFlags.ShutdownAppDomainOnChange; } /// /// /// /// public override void GenerateCode(AssemblyBuilder assemblyBuilder) { BuildProviderUtils.AddArtifactReference(assemblyBuilder, this, base.VirtualPath); } } } // 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
- WebBrowser.cs
- SerializationSectionGroup.cs
- DetailsView.cs
- ApplicationActivator.cs
- RoutedEventHandlerInfo.cs
- HttpPostedFileBase.cs
- StrokeNodeOperations2.cs
- BitmapSourceSafeMILHandle.cs
- ContextStaticAttribute.cs
- CreateUserWizardStep.cs
- UserControlFileEditor.cs
- DbModificationCommandTree.cs
- TextReturnReader.cs
- JsonFaultDetail.cs
- CacheAxisQuery.cs
- DBParameter.cs
- DispatcherFrame.cs
- Light.cs
- MSG.cs
- X509Certificate2Collection.cs
- IgnoreSectionHandler.cs
- ResourceContainer.cs
- TemplateInstanceAttribute.cs
- RightsManagementErrorHandler.cs
- ControlParameter.cs
- HierarchicalDataBoundControlAdapter.cs
- ScrollViewerAutomationPeer.cs
- IssuedSecurityTokenProvider.cs
- GridEntry.cs
- UserUseLicenseDictionaryLoader.cs
- DtrList.cs
- GrammarBuilderDictation.cs
- InvokeSchedule.cs
- HTMLTextWriter.cs
- AxHost.cs
- BaseResourcesBuildProvider.cs
- WindowsListViewScroll.cs
- DefaultExpressionVisitor.cs
- SessionEndingEventArgs.cs
- TypeDelegator.cs
- ResourceContainerWrapper.cs
- LassoSelectionBehavior.cs
- ParagraphVisual.cs
- XPathNodeInfoAtom.cs
- PinnedBufferMemoryStream.cs
- GridItemPattern.cs
- HandlerWithFactory.cs
- ManagementObjectSearcher.cs
- DrawingAttributesDefaultValueFactory.cs
- ProfileSection.cs
- QuadraticBezierSegment.cs
- OAVariantLib.cs
- ProvideValueServiceProvider.cs
- SyndicationElementExtension.cs
- UpdateProgress.cs
- BinaryNode.cs
- SvcMapFile.cs
- PropertyConverter.cs
- UserControlDesigner.cs
- BitmapImage.cs
- GestureRecognitionResult.cs
- HyperLinkField.cs
- DefaultValueConverter.cs
- FrugalMap.cs
- AttributeCollection.cs
- CallbackException.cs
- ProgressiveCrcCalculatingStream.cs
- PrintDialog.cs
- XmlExtensionFunction.cs
- WebPartEditVerb.cs
- OptimisticConcurrencyException.cs
- ResourcePermissionBase.cs
- securitycriticaldataformultiplegetandset.cs
- TdsEnums.cs
- Splitter.cs
- HideDisabledControlAdapter.cs
- GroupBoxRenderer.cs
- _NegoState.cs
- SmiEventSink_DeferedProcessing.cs
- XmlEntity.cs
- MultiSelector.cs
- TileBrush.cs
- WinHttpWebProxyFinder.cs
- ExpandCollapseProviderWrapper.cs
- CodeConditionStatement.cs
- CodeMemberEvent.cs
- unsafenativemethodstextservices.cs
- CertificateManager.cs
- InternalDispatchObject.cs
- TextAutomationPeer.cs
- DataGridViewButtonColumn.cs
- ConditionValidator.cs
- XmlSchemaComplexContentRestriction.cs
- SystemIcmpV4Statistics.cs
- DataServiceStreamProviderWrapper.cs
- DesignerRegionCollection.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Win32SafeHandles.cs
- TypeListConverter.cs
- SymbolResolver.cs