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
- CodeNamespaceImport.cs
- ActiveXHelper.cs
- UnionQueryOperator.cs
- TextWriterTraceListener.cs
- TemplatedMailWebEventProvider.cs
- ButtonChrome.cs
- Application.cs
- ObsoleteAttribute.cs
- OrderedDictionaryStateHelper.cs
- InvalidProgramException.cs
- PropertyIDSet.cs
- RequestBringIntoViewEventArgs.cs
- IdentityModelDictionary.cs
- OpCellTreeNode.cs
- ThemeableAttribute.cs
- WorkflowDesigner.cs
- StylusCaptureWithinProperty.cs
- FacetDescriptionElement.cs
- CrossSiteScriptingValidation.cs
- BooleanStorage.cs
- OperationDescriptionCollection.cs
- ZipIOFileItemStream.cs
- OutputCacheSettings.cs
- DataSetMappper.cs
- Type.cs
- _ContextAwareResult.cs
- SoapHeaderAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- TreeView.cs
- SecurityTokenSerializer.cs
- DataGridViewTopLeftHeaderCell.cs
- ImageBrush.cs
- ScrollChrome.cs
- METAHEADER.cs
- WebServiceFault.cs
- XmlStrings.cs
- RemotingAttributes.cs
- MatrixConverter.cs
- DesignerDataTable.cs
- ActivityPreviewDesigner.cs
- Int32AnimationBase.cs
- InlinedAggregationOperator.cs
- PermissionSetEnumerator.cs
- ColorTransformHelper.cs
- BinaryConverter.cs
- HwndSourceParameters.cs
- ConnectionConsumerAttribute.cs
- Serializer.cs
- DeferredReference.cs
- MonitorWrapper.cs
- BCryptSafeHandles.cs
- NetworkCredential.cs
- login.cs
- ToolStripDropDownItem.cs
- SqlDataSourceFilteringEventArgs.cs
- MethodRental.cs
- PresentationAppDomainManager.cs
- ApplicationBuildProvider.cs
- HashCodeCombiner.cs
- CollectionChange.cs
- QueryExecutionOption.cs
- AutomationProperty.cs
- PrintPreviewDialog.cs
- FileDialog.cs
- VisualTreeUtils.cs
- localization.cs
- IdentityHolder.cs
- MappingException.cs
- ServiceParser.cs
- SQLByte.cs
- CharKeyFrameCollection.cs
- ComPlusDiagnosticTraceRecords.cs
- XmlAutoDetectWriter.cs
- Header.cs
- PhoneCall.cs
- RSAPKCS1SignatureFormatter.cs
- GPRECT.cs
- RelationshipSet.cs
- OnOperation.cs
- _HTTPDateParse.cs
- SQLBinaryStorage.cs
- MimeFormatter.cs
- ECDiffieHellmanPublicKey.cs
- DeploymentSectionCache.cs
- SafeNativeMethods.cs
- xsdvalidator.cs
- RecipientInfo.cs
- DataControlButton.cs
- XhtmlBasicLiteralTextAdapter.cs
- AttributeQuery.cs
- Peer.cs
- ArraySegment.cs
- HttpServerChannel.cs
- File.cs
- ComboBoxRenderer.cs
- HttpChannelListener.cs
- NativeRightsManagementAPIsStructures.cs
- ContentFileHelper.cs
- FieldTemplateUserControl.cs
- WebPartZoneCollection.cs