SQLProvider


ProvidedConstructor

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

Represents an erased provided constructor.

Constructors

ConstructorDescription
new(parameters, invokeCode)
Signature: (parameters:ProvidedParameter list * invokeCode:(Expr list -> Expr)) -> ProvidedConstructor

When making a cross-targeting type provider, use this method instead of the ProvidedConstructor constructor from ProvidedTypes

CompiledName: .ctor

Instance members

Instance memberDescription
x.AddDefinitionLocation(...)
Signature: (line:int * column:int * filePath:string) -> unit

Add definition location information to the provided constructor.

x.AddObsoleteAttribute(message, isError)
Signature: (message:string * isError:bool option) -> unit

Add a 'Obsolete' attribute to this provided constructor

x.AddXmlDoc(xmlDoc)
Signature: xmlDoc:string -> unit

Add XML documentation information to this provided constructor

x.AddXmlDocComputed(xmlDocFunction)
Signature: (xmlDocFunction:(unit -> string)) -> unit

Add XML documentation information to this provided constructor, where the documentation is re-computed every time it is required.

x.AddXmlDocDelayed(xmlDocFunction)
Signature: (xmlDocFunction:(unit -> string)) -> unit

Add XML documentation information to this provided constructor, where the computation of the documentation is delayed until necessary

x.BaseConstructorCall()
Signature: unit -> Expr list -> ConstructorInfo * Expr list

Set the target and arguments of the base constructor call. Only used for generated types.

CompiledName: set_BaseConstructorCall

x.BaseConstructorCall()
Signature: unit -> unit

Set the target and arguments of the base constructor call. Only used for generated types.

CompiledName: set_BaseConstructorCall

x.IsImplicitConstructor()
Signature: unit -> bool

Set a flag indicating that the constructor acts like an F# implicit constructor, so the parameters of the constructor become fields and can be accessed using Expr.GlobalVar with the same name.

CompiledName: set_IsImplicitConstructor

x.IsImplicitConstructor()
Signature: unit -> unit

Set a flag indicating that the constructor acts like an F# implicit constructor, so the parameters of the constructor become fields and can be accessed using Expr.GlobalVar with the same name.

CompiledName: get_IsImplicitConstructor

x.IsTypeInitializer()
Signature: unit -> bool

CompiledName: set_IsTypeInitializer

x.IsTypeInitializer()
Signature: unit -> unit

CompiledName: get_IsTypeInitializer

Fork me on GitHub