SQLProvider


ProvidedAssembly

Namespace: ProviderImplementation.ProvidedTypes

A provided generated assembly

Constructors

ConstructorDescription
new()
Signature: unit -> ProvidedAssembly

Create a provided generated assembly using a temporary file as the interim assembly storage

CompiledName: .ctor

new(assemblyName, assemblyFileName)
Signature: (assemblyName:AssemblyName * assemblyFileName:string) -> ProvidedAssembly

Create a provided generated assembly

CompiledName: .ctor

Instance members

Instance memberDescription
x.AddNestedTypes(...)
Signature: (types:ProvidedTypeDefinition list * enclosingGeneratedTypeNames:string list) -> unit

Emit the given nested provided type definitions as part of the assembly. and adjust the 'Assembly' property of all provided type definitions to return that assembly.

x.AddTypes(types)
Signature: (types:ProvidedTypeDefinition list) -> unit

Emit the given provided type definitions as part of the assembly and adjust the 'Assembly' property of all provided type definitions to return that assembly.

The assembly is only emitted when the Assembly property on the root type is accessed for the first time. The host F# compiler does this when processing a generative type declaration for the type.

Fork me on GitHub