SQLProvider


ProvidedMethod

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

Constructors

ConstructorDescription
new(...)
Signature: (methodName:string * parameters:ProvidedParameter list * returnType:Type * invokeCode:(Expr list -> Expr) option * isStatic:bool option) -> ProvidedMethod

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

CompiledName: .ctor

Instance members

Instance memberDescription
x.AddCustomAttribute(arg1)
Signature: CustomAttributeData -> unit

Add a custom attribute to the provided method definition.

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

Add definition location information to the provided type definition.

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

Add XML documentation information to this provided method

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 computation of the documentation is delayed until necessary 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.DefineStaticParameters(...)
Signature: (parameters:ProvidedStaticParameter list * instantiationFunction:(string -> obj [] -> ProvidedMethod)) -> unit

Define the static parameters available on a statically parameterized method

x.SetMethodAttrs(attributes)
Signature: attributes:MethodAttributes -> unit

Set the method attributes of the method. By default these are simple 'MethodAttributes.Public'

Fork me on GitHub