Method | Description | |
---|---|---|
GetAssembliesToAdd ( IConnectionInfo cxInfo ) : IEnumerable |
Returns a list of additional assemblies to reference when building queries.
|
|
GetConnectionDescription ( IConnectionInfo cxInfo ) : string |
Get connection details.
|
|
GetContextConstructorArguments ( IConnectionInfo cxInfo ) : object[] |
Returns argument values to pass to into the data context's constructor, based on a given connection info.
|
|
GetContextConstructorParameters ( IConnectionInfo cxInfo ) : ParameterDescriptor[] |
Returns names and types of parameters that should be passed into the data context constructor.
|
|
GetNamespacesToAdd ( IConnectionInfo cxInfo ) : IEnumerable |
Returns a list of additional namespaces that should be imported automatically into all queries that use this driver.
|
|
GetSchemaAndBuildAssembly ( IConnectionInfo cxInfo, |
Builds an assembly containing a typed data context, and returns data for the Schema Explorer.
|
|
OnQueryFinishing ( IConnectionInfo cxInfo, object context, LINQPad.Extensibility.DataContext.QueryExecutionManager executionManager ) : void |
This method is called after the query's main thread has finished running the user's code, but before the query has stopped. If you've spun up threads that are still writing results, you can use this method to wait out those threads.
|
|
ShowConnectionDialog ( IConnectionInfo cxInfo, bool isNewConnection ) : bool |
Displays a dialog prompting the user for connection details.
|
Method | Description | |
---|---|---|
AddNestedPropertyToTree ( |
||
BondDynamicDriver ( ) : System |
Static constructor
|
|
CreateEventTree ( EventStatistics>.IDictionary |
Create schema tree that appears on the left pane below the driver connection name.
|
|
GetAssemblyTypes ( string targetPath ) : System.Type[] | ||
ResolveAssembly ( object sender, |
Needed to reference other assemblies that are not part of the .NET framework.
|
public GetAssembliesToAdd ( IConnectionInfo cxInfo ) : IEnumerable |
||
cxInfo | IConnectionInfo | Connection information, as entered by the user. |
return | IEnumerable |
public GetConnectionDescription ( IConnectionInfo cxInfo ) : string | ||
cxInfo | IConnectionInfo | Connection information, as entered by the user. |
return | string |
public GetContextConstructorArguments ( IConnectionInfo cxInfo ) : object[] | ||
cxInfo | IConnectionInfo | Connection information, as entered by the user. |
return | object[] |
public GetContextConstructorParameters ( IConnectionInfo cxInfo ) : ParameterDescriptor[] | ||
cxInfo | IConnectionInfo | Connection information, as entered by the user. |
return | ParameterDescriptor[] |
public GetNamespacesToAdd ( IConnectionInfo cxInfo ) : IEnumerable |
||
cxInfo | IConnectionInfo | Connection information, as entered by the user. |
return | IEnumerable |
public GetSchemaAndBuildAssembly ( IConnectionInfo cxInfo, |
||
cxInfo | IConnectionInfo | Connection information, as entered by the user |
assemblyToBuild | Name and location of the target assembly to build | |
nameSpace | string | The suggested namespace of the typed data context. You must update this /// parameter if you don't use the suggested namespace. |
typeName | string | The suggested type name of the typed data context. You must update this /// parameter if you don't use the suggested type name. |
return | List |
public OnQueryFinishing ( IConnectionInfo cxInfo, object context, LINQPad.Extensibility.DataContext.QueryExecutionManager executionManager ) : void | ||
cxInfo | IConnectionInfo | Connection information, as entered by the user. |
context | object | Context |
executionManager | LINQPad.Extensibility.DataContext.QueryExecutionManager | execution manager |
return | void |
public ShowConnectionDialog ( IConnectionInfo cxInfo, bool isNewConnection ) : bool | ||
cxInfo | IConnectionInfo | Connection information, as entered by the user. |
isNewConnection | bool | The isNewConnection parameter will be true if the user /// is creating a new connection rather than editing an existing connection. |
return | bool |