SQLProvider


ProvidedTypesContext

Namespace: ProviderImplementation.ProvidedTypes
Attributes:
[<Class>]

Represents the context for which code is to be generated. Normally you should not need to use this directly.

Instance members

Instance memberDescription
x.AddSourceAssembly(arg1)
Signature: Assembly -> unit

Add an assembly to the set of design-time assemblies available to use as a basis for authoring provided types

x.ConvertSourceExprToTarget(arg1)
Signature: Expr -> Expr

Returns a quotation rebuilt with resepct to the types from the target referenced assemblies. Normally this method should not be used directly when authoring a type provider.

x.ConvertSourceTypeToTarget(arg1)
Signature: Type -> Type

Returns a type from the referenced assemblies that corresponds to the given design-time type. Normally this method should not be used directly when authoring a type provider.

x.ConvertTargetTypeToSource(arg1)
Signature: Type -> Type

Returns the design-time type that corresponds to the given type from the target referenced assemblies. Normally this method should not be used directly when authoring a type provider.

x.FSharpCoreAssemblyVersion
Signature: Version

Try to get the version of FSharp.Core referenced. May raise an exception if FSharp.Core has not been correctly resolved

CompiledName: get_FSharpCoreAssemblyVersion

x.GetSourceAssemblies()
Signature: unit -> Assembly []

Get the set of design-time assemblies available to use as a basis for authoring provided types.

x.GetTargetAssemblies()
Signature: unit -> Assembly []

Get the resolved referenced assemblies determined by the type provider configuration

x.ReadRelatedAssembly(bytes)
Signature: (bytes:byte []) -> Assembly

Read the assembly related to this context

x.ReadRelatedAssembly(fileName)
Signature: fileName:string -> Assembly

Read the assembly related to this context

x.ReferencedAssemblyPaths
Signature: string list

Get the list of referenced assemblies determined by the type provider configuration

CompiledName: get_ReferencedAssemblyPaths

x.TryBindAssemblyNameToTarget(aref)
Signature: aref:AssemblyName -> Choice<Assembly,exn>

Try to find the given target assembly in the context

x.TryBindSimpleAssemblyNameToTarget(...)
Signature: assemblyName:string -> Choice<Assembly,exn>

Try to find the given target assembly in the context

Fork me on GitHub