Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / StorageModelBuildProvider.cs / 1305376 / StorageModelBuildProvider.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 SSDL in ADO .NET /// /// [BuildProviderAppliesTo(BuildProviderAppliesTo.Code)] public class StorageModelBuildProvider : System.Web.Compilation.BuildProvider { ////// Default constructor /// public StorageModelBuildProvider() { } ////// 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 SSDL in ADO .NET /// /// [BuildProviderAppliesTo(BuildProviderAppliesTo.Code)] public class StorageModelBuildProvider : System.Web.Compilation.BuildProvider { ////// Default constructor /// public StorageModelBuildProvider() { } ////// 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
- EntryWrittenEventArgs.cs
- ConstraintStruct.cs
- TextTreeInsertElementUndoUnit.cs
- CorrelationService.cs
- FontNamesConverter.cs
- TrackBarDesigner.cs
- HttpConfigurationSystem.cs
- ServiceHost.cs
- SamlAuthenticationStatement.cs
- TableLayoutColumnStyleCollection.cs
- SrgsItemList.cs
- KeyFrames.cs
- QueueAccessMode.cs
- MailBnfHelper.cs
- Rotation3D.cs
- ReverseInheritProperty.cs
- StringReader.cs
- DesignTimeVisibleAttribute.cs
- HtmlInputPassword.cs
- PreDigestedSignedInfo.cs
- ContentElementCollection.cs
- SubMenuStyleCollection.cs
- WrappedDispatcherException.cs
- ErrorFormatterPage.cs
- InstalledFontCollection.cs
- MemberInitExpression.cs
- WSDualHttpSecurityMode.cs
- RelativeSource.cs
- RoleManagerModule.cs
- XmlSchemaImport.cs
- XmlSchemaAttributeGroupRef.cs
- _AcceptOverlappedAsyncResult.cs
- DataContractSerializerOperationGenerator.cs
- StylusSystemGestureEventArgs.cs
- Zone.cs
- SelectionListDesigner.cs
- Internal.cs
- MobilePage.cs
- PropertyInfo.cs
- DispatcherOperation.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- WebPartAddingEventArgs.cs
- XmlUrlResolver.cs
- EdmItemError.cs
- ContextMarshalException.cs
- DataGridViewTextBoxCell.cs
- Hash.cs
- MobileSysDescriptionAttribute.cs
- ThreadInterruptedException.cs
- DesignerForm.cs
- RadioButtonList.cs
- ProfileModule.cs
- LinqToSqlWrapper.cs
- PenThread.cs
- TimeoutException.cs
- BrowserInteropHelper.cs
- OledbConnectionStringbuilder.cs
- RedirectionProxy.cs
- XmlSchemaParticle.cs
- PointLight.cs
- MemberInfoSerializationHolder.cs
- Task.cs
- NonNullItemCollection.cs
- VisualBrush.cs
- GridViewColumnCollection.cs
- LoginViewDesigner.cs
- ControlBuilder.cs
- ToolboxItemCollection.cs
- ContentType.cs
- ScriptManager.cs
- StringReader.cs
- MetadataItemEmitter.cs
- XPathParser.cs
- ToolStripDropDownItem.cs
- SafeCryptoKeyHandle.cs
- ListItemParagraph.cs
- LinqDataSourceSelectEventArgs.cs
- ParsedRoute.cs
- DbProviderConfigurationHandler.cs
- SqlDependencyUtils.cs
- DodSequenceMerge.cs
- BindingOperations.cs
- CaretElement.cs
- TransactionManagerProxy.cs
- BitVec.cs
- SchemaType.cs
- WebPartTransformerAttribute.cs
- TextEditorContextMenu.cs
- TextContainerChangedEventArgs.cs
- TimeEnumHelper.cs
- Utils.cs
- SchemaImporterExtension.cs
- QueryOutputWriterV1.cs
- InvalidOperationException.cs
- XmlSchemaElement.cs
- SerialPinChanges.cs
- ObjectDataSourceChooseTypePanel.cs
- ExtenderProvidedPropertyAttribute.cs
- ScalarOps.cs
- ResourceManager.cs