Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / AspNet / MappingModelBuildProvider.cs / 1 / 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
- LicFileLicenseProvider.cs
- IndexedString.cs
- EqualityComparer.cs
- WebPartConnectionsDisconnectVerb.cs
- SizeFConverter.cs
- TemplateComponentConnector.cs
- IfJoinedCondition.cs
- WeakEventTable.cs
- PasswordPropertyTextAttribute.cs
- SymbolType.cs
- SocketElement.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SiblingIterators.cs
- LinkLabel.cs
- RPIdentityRequirement.cs
- FormViewModeEventArgs.cs
- NullableIntMinMaxAggregationOperator.cs
- FixedPageProcessor.cs
- LoginDesignerUtil.cs
- Deserializer.cs
- TemplateKey.cs
- RMPublishingDialog.cs
- ViewGenerator.cs
- OneOfConst.cs
- TimeSpanMinutesConverter.cs
- DirectionalLight.cs
- SqlUtil.cs
- EventSource.cs
- DefaultValueAttribute.cs
- ControlValuePropertyAttribute.cs
- BufferedReadStream.cs
- FindCriteriaApril2005.cs
- ImageFormatConverter.cs
- SystemIPInterfaceStatistics.cs
- QuaternionRotation3D.cs
- RegexCharClass.cs
- SortedDictionary.cs
- EditorZoneBase.cs
- Model3DCollection.cs
- DesignerActionVerbItem.cs
- AssociationSetEnd.cs
- PropertyDescriptors.cs
- AutoGeneratedFieldProperties.cs
- SqlLiftWhereClauses.cs
- SqlBulkCopy.cs
- DataServiceRequestOfT.cs
- VisualCollection.cs
- PolicyUtility.cs
- RenderData.cs
- FormParameter.cs
- ReplacementText.cs
- CallContext.cs
- DoubleLinkListEnumerator.cs
- DLinqAssociationProvider.cs
- HotSpotCollection.cs
- UInt32Converter.cs
- MailAddressParser.cs
- XmlDomTextWriter.cs
- DbParameterCollectionHelper.cs
- JpegBitmapEncoder.cs
- SqlDataReaderSmi.cs
- DocumentStatusResources.cs
- ScopelessEnumAttribute.cs
- TreeIterator.cs
- WriteTimeStream.cs
- GetIndexBinder.cs
- SeparatorAutomationPeer.cs
- AttributeQuery.cs
- ExtensionFile.cs
- LogLogRecordEnumerator.cs
- TypeName.cs
- WriteLine.cs
- Screen.cs
- FixedHyperLink.cs
- DocumentViewerBase.cs
- ScriptReferenceEventArgs.cs
- FontStyle.cs
- TypefaceMetricsCache.cs
- ListBoxItemAutomationPeer.cs
- XmlMapping.cs
- ListManagerBindingsCollection.cs
- LicenseContext.cs
- ConfigurationPermission.cs
- PenContexts.cs
- DuplicateWaitObjectException.cs
- DropShadowBitmapEffect.cs
- WebPartManager.cs
- WindowsFormsHelpers.cs
- SizeKeyFrameCollection.cs
- PingOptions.cs
- XmlEncodedRawTextWriter.cs
- DrawingState.cs
- DataGrid.cs
- Sentence.cs
- DataPagerFieldItem.cs
- RegexCompilationInfo.cs
- ProxyWebPart.cs
- Parameter.cs
- SynchronizationLockException.cs
- XmlObjectSerializerWriteContext.cs