Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / StorageModelBuildProvider.cs / 1 / 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
- SmiMetaDataProperty.cs
- FixedSOMTextRun.cs
- ReaderWriterLockWrapper.cs
- cookie.cs
- BufferedGenericXmlSecurityToken.cs
- ModuleConfigurationInfo.cs
- RoleService.cs
- MonikerProxyAttribute.cs
- DriveInfo.cs
- Span.cs
- RelationshipManager.cs
- DataGridViewCellCollection.cs
- TemplateContentLoader.cs
- ColorTranslator.cs
- GC.cs
- COM2Enum.cs
- SourceFileBuildProvider.cs
- BitmapEffectInput.cs
- EntityReference.cs
- WebCategoryAttribute.cs
- SoapDocumentServiceAttribute.cs
- NativeMethods.cs
- CutCopyPasteHelper.cs
- Trace.cs
- XpsPartBase.cs
- ToolStripDropDownClosedEventArgs.cs
- BasicViewGenerator.cs
- ContextStaticAttribute.cs
- XmlSchemaImporter.cs
- XmlDomTextWriter.cs
- HttpCookieCollection.cs
- MultiPartWriter.cs
- CodeExporter.cs
- CodeSnippetTypeMember.cs
- RowCache.cs
- ItemCollection.cs
- NoResizeHandleGlyph.cs
- PreparingEnlistment.cs
- OleDbReferenceCollection.cs
- XmlQueryTypeFactory.cs
- ValueTypeIndexerReference.cs
- IsolatedStorage.cs
- PropertyTab.cs
- WeakReferenceList.cs
- ConsumerConnectionPoint.cs
- LinqDataSourceStatusEventArgs.cs
- BackStopAuthenticationModule.cs
- UnlockInstanceAsyncResult.cs
- RegexGroupCollection.cs
- BlurEffect.cs
- Int16KeyFrameCollection.cs
- WebPartTransformerCollection.cs
- TextDecorations.cs
- TextBox.cs
- MailMessage.cs
- basecomparevalidator.cs
- ChangeDirector.cs
- FilterEventArgs.cs
- AssociationSetMetadata.cs
- PerformanceCounterPermission.cs
- CompiledQueryCacheEntry.cs
- SvcMapFile.cs
- WebControlParameterProxy.cs
- SessionIDManager.cs
- LateBoundBitmapDecoder.cs
- MembershipPasswordException.cs
- AtomParser.cs
- StringOutput.cs
- Image.cs
- SizeConverter.cs
- AddressAccessDeniedException.cs
- ToolStripDropDownItem.cs
- ReferencedType.cs
- Span.cs
- ItemAutomationPeer.cs
- Model3DCollection.cs
- DescendantQuery.cs
- KeyFrames.cs
- Axis.cs
- Tokenizer.cs
- MappedMetaModel.cs
- CollectionViewProxy.cs
- NetSectionGroup.cs
- AutomationPattern.cs
- UpdatePanelControlTrigger.cs
- SystemIcons.cs
- BamlRecords.cs
- AssemblyCollection.cs
- IProducerConsumerCollection.cs
- AnchoredBlock.cs
- RuleProcessor.cs
- CompModHelpers.cs
- InArgumentConverter.cs
- EventEntry.cs
- SqlConnection.cs
- TreeNodeBindingCollection.cs
- Timeline.cs
- DescendantOverDescendantQuery.cs
- CompiledWorkflowDefinitionContext.cs
- IDReferencePropertyAttribute.cs