메소드 | 설명 | |
---|---|---|
DisplayObjectInGrid ( object objectToDisplay, GridOptions options ) : void | ||
GetAssembliesToAdd ( IConnectionInfo pCxInfo ) : IEnumerable |
Returns a list of additional assemblies to reference when building queries. To refer to an assembly in the GAC, specify its fully qualified name, otherwise specified the assembly's full location on the hard drive. Assemblies in the same folder as the driver, however, don't require a folder name. If you're unable to find the necessary assemblies, throw an exception, with a message indicating the problem assembly.
|
|
GetConnectionDescription ( IConnectionInfo pCxInfo ) : string | ||
GetCustomDisplayMemberProvider ( object objectToWrite ) : ICustomMemberProvider |
Allows you to change how types are displayed in the output window - in particular, this lets you prevent LINQPad from endlessly enumerating lazily evaluated properties. Overriding this method is an alternative to implementing ICustomMemberProvider in the target types. See http://www.linqpad.net/FAQ.aspx#extensibility for more info.
|
|
GetNamespacesToAdd ( IConnectionInfo pCxInfo ) : IEnumerable |
Returns a list of additional namespaces that should be imported automatically into all queries that use this driver. This should include the commonly used namespaces of your ORM or querying technology .
|
|
GetSchemaAndBuildAssembly ( IConnectionInfo pCxInfo, |
Builds an assembly containing a typed data pContext, and returns data for the Schema Explorer.
|
|
ShowConnectionDialog ( IConnectionInfo pCxInfo, bool pIsNewConnection ) : bool |
Displays a dialog prompting the user for connection details. The isNewConnection parameter will be true if the user is creating a new connection rather than editing an existing connection. This should return true if the user clicked OK. If it returns false, any changes to the IConnectionInfo object will be rolled back.
|
|
TearDownContext ( IConnectionInfo pCxInfo, object pContext, LINQPad.Extensibility.DataContext.QueryExecutionManager pExecutionManager, object pConstructorArguments ) : void |
This virtual method is called after a query has completed. You can use this hook to perform cleanup activities such as disposing of the context or other objects.
|
public DisplayObjectInGrid ( object objectToDisplay, GridOptions options ) : void | ||
objectToDisplay | object | |
options | GridOptions | |
리턴 | void |
public GetAssembliesToAdd ( IConnectionInfo pCxInfo ) : IEnumerable |
||
pCxInfo | IConnectionInfo | |
리턴 | IEnumerable |
public GetConnectionDescription ( IConnectionInfo pCxInfo ) : string | ||
pCxInfo | IConnectionInfo | |
리턴 | string |
public GetCustomDisplayMemberProvider ( object objectToWrite ) : ICustomMemberProvider | ||
objectToWrite | object | |
리턴 | ICustomMemberProvider |
public GetNamespacesToAdd ( IConnectionInfo pCxInfo ) : IEnumerable |
||
pCxInfo | IConnectionInfo | |
리턴 | IEnumerable |
public GetSchemaAndBuildAssembly ( IConnectionInfo pCxInfo, |
||
pCxInfo | IConnectionInfo | Connection information, as entered by the user |
pAssemblyToBuild | Name and location of the target assembly to build | |
pNameSpace | string | The suggested namespace of the typed data pContext. You must update this /// parameter if you don't use the suggested namespace. |
pTypeName | string | The suggested type name of the typed data pContext. You must update this /// parameter if you don't use the suggested type name. |
리턴 | List |
public ShowConnectionDialog ( IConnectionInfo pCxInfo, bool pIsNewConnection ) : bool | ||
pCxInfo | IConnectionInfo | |
pIsNewConnection | bool | |
리턴 | bool |
public TearDownContext ( IConnectionInfo pCxInfo, object pContext, LINQPad.Extensibility.DataContext.QueryExecutionManager pExecutionManager, object pConstructorArguments ) : void | ||
pCxInfo | IConnectionInfo | |
pContext | object | |
pExecutionManager | LINQPad.Extensibility.DataContext.QueryExecutionManager | |
pConstructorArguments | object | |
리턴 | void |