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
- XmlDataDocument.cs
- XmlAnyElementAttribute.cs
- SiteMapProvider.cs
- WebPartUtil.cs
- TextSyndicationContent.cs
- TagMapCollection.cs
- StickyNoteAnnotations.cs
- Site.cs
- safelink.cs
- XmlNodeReader.cs
- HttpServerChannel.cs
- WpfPayload.cs
- UiaCoreTypesApi.cs
- FontNamesConverter.cs
- ByteAnimationBase.cs
- DataGridViewSelectedCellCollection.cs
- _NegoState.cs
- UnsafeNativeMethods.cs
- HtmlInputCheckBox.cs
- FrameworkElement.cs
- SqlReferenceCollection.cs
- SelectQueryOperator.cs
- SqlInfoMessageEvent.cs
- DataGridPageChangedEventArgs.cs
- CssClassPropertyAttribute.cs
- CompensatableSequenceActivity.cs
- MemberInfoSerializationHolder.cs
- SqlTriggerContext.cs
- WeakReferenceList.cs
- ProfileProvider.cs
- MatrixAnimationUsingKeyFrames.cs
- ThicknessKeyFrameCollection.cs
- SqlDesignerDataSourceView.cs
- SourceFileInfo.cs
- ScriptResourceAttribute.cs
- Set.cs
- IpcChannel.cs
- CheckBoxDesigner.cs
- Graphics.cs
- PEFileEvidenceFactory.cs
- TextEditorDragDrop.cs
- MenuCommands.cs
- WebEncodingValidatorAttribute.cs
- DataViewSettingCollection.cs
- DefaultWorkflowLoaderService.cs
- DurableInstance.cs
- Ref.cs
- PageParser.cs
- ButtonBaseAdapter.cs
- Transform.cs
- PrintDialogException.cs
- httpserverutility.cs
- HttpWriter.cs
- ClientConfigurationSystem.cs
- ParseElement.cs
- Function.cs
- HGlobalSafeHandle.cs
- RadioButtonFlatAdapter.cs
- LostFocusEventManager.cs
- DBSchemaTable.cs
- PanelStyle.cs
- HttpInputStream.cs
- FilteredXmlReader.cs
- PolyLineSegment.cs
- PointF.cs
- FileInfo.cs
- AttachedPropertyMethodSelector.cs
- StreamReader.cs
- RefreshEventArgs.cs
- DataControlField.cs
- FrameworkTemplate.cs
- CacheModeConverter.cs
- BadImageFormatException.cs
- XmlDataLoader.cs
- CollectionViewGroupRoot.cs
- FontCacheUtil.cs
- IntMinMaxAggregationOperator.cs
- XmlParser.cs
- Translator.cs
- WindowsImpersonationContext.cs
- ViewManager.cs
- NavigatingCancelEventArgs.cs
- DesignerEventService.cs
- ObjectHelper.cs
- loginstatus.cs
- HeaderFilter.cs
- ClickablePoint.cs
- InputMethodStateTypeInfo.cs
- SecurityContext.cs
- util.cs
- XmlSchemaSimpleTypeRestriction.cs
- ArrangedElementCollection.cs
- CanonicalizationDriver.cs
- ColorAnimationBase.cs
- SegmentTree.cs
- Serializer.cs
- XmlJsonReader.cs
- Renderer.cs
- BoundColumn.cs
- HwndHostAutomationPeer.cs