SQLProvider

SqlTypeProvider Type

Constructors

Constructor Description

SqlTypeProvider(config)

Full Usage: SqlTypeProvider(config)

Parameters:
Returns: SqlTypeProvider

Inherited members

Inherited from TypeProviderForNamespaces

Instance members

Instance member Description

this.AddNamespace

Full Usage: this.AddNamespace

Parameters:

Invoked by the type provider to add a namespace of provided types in the specification of the type provider.

namespaceName : string
types : ProvidedTypeDefinition list

this.ApplyStaticArgumentsForMethod

Full Usage: this.ApplyStaticArgumentsForMethod

Parameters:
Returns: MethodBase

Invoked by the host of the type provider to apply the static arguments for a method.

arg0 : MethodBase
arg1 : string
arg2 : obj[]
Returns: MethodBase

this.GetStaticParametersForMethod

Full Usage: this.GetStaticParametersForMethod

Parameters:
Returns: ParameterInfo[]

Invoked by the host of the type provider to get the static parameters for a method.

arg0 : MethodBase
Returns: ParameterInfo[]

this.Invalidate

Full Usage: this.Invalidate

Invoked by the type provider to invalidate the information provided by the provider

this.RegisterProbingFolder

Full Usage: this.RegisterProbingFolder

Parameters:
    folder : string

Registers custom probing path that can be used for probing assemblies

folder : string

this.RegisterRuntimeAssemblyLocationAsProbingFolder

Full Usage: this.RegisterRuntimeAssemblyLocationAsProbingFolder

Parameters:

Registers location of RuntimeAssembly (from TypeProviderConfig) as probing folder

config : TypeProviderConfig

this.ResolveAssembly

Full Usage: this.ResolveAssembly

Parameters:
Returns: Assembly
Modifiers: abstract

AssemblyResolve handler. Default implementation searches .dll file in registered folders

arg0 : ResolveEventArgs
Returns: Assembly

this.TargetContext

Full Usage: this.TargetContext

Returns: ProvidedTypesContext

The context for which code is eventually to be generated. You should not normally need to use this property directly, as translation from the compiler-hosted context to the design-time context will normally be performed automatically.

Returns: ProvidedTypesContext

this.Disposing

Full Usage: this.Disposing

Returns: IEvent<EventHandler, EventArgs>

this.Namespaces

Full Usage: this.Namespaces

Returns: IProvidedNamespace[]

Invoked by the type provider to get all provided namespaces with their provided types.

Returns: IProvidedNamespace[]

Type something to start searching.