BaseCodeGeneratorWithSite.CodeProvider Property
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Returns a CodeDomProvider object for the language of the project containing the project item the generator was called on
Namespace: Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")> _
Protected ReadOnly Property CodeProvider As CodeDomProvider
Get
'Usage
Dim value As CodeDomProvider
value = Me.CodeProvider
[SuppressMessageAttribute("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
protected CodeDomProvider CodeProvider { get; }
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1031:DoNotCatchGeneralExceptionTypes")]
protected:
property CodeDomProvider^ CodeProvider {
CodeDomProvider^ get ();
}
[<SuppressMessageAttribute("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")>]
member CodeProvider : CodeDomProvider
function get CodeProvider () : CodeDomProvider
Property Value
Type: System.CodeDom.Compiler.CodeDomProvider
A CodeDomProvider object
See Also
Reference
BaseCodeGeneratorWithSite Class
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator Namespace