Property | Type | Description | |
---|---|---|---|
EnableSqlLogging | bool | ||
InitializeLogger | void |
Method | Description | |
---|---|---|
AreRepositoriesEquivalent ( IConnectionInfo c1, IConnectionInfo c2 ) : bool | ||
GetAssembliesToAdd ( ) : IEnumerable |
Add DevForce assemblies.
|
|
GetConnectionDescription ( IConnectionInfo cxInfo ) : string | ||
GetContextConstructorArguments ( IConnectionInfo cxInfo ) : object[] |
We're using the parameterless EM constructor, so no constructor arguments are provided.
|
|
GetContextConstructorParameters ( IConnectionInfo cxInfo ) : ParameterDescriptor[] |
Use the default parameterless EntityManager constructor. After construction we can set some EM properties in the InitializeContext method.
|
|
GetCustomDisplayMemberProvider ( object objectToWrite ) : LINQPad.ICustomMemberProvider |
To avoid walking the entire entity graph we use a custom provider.
|
|
GetNamespacesToAdd ( ) : IEnumerable |
Add DevForce namespaces.
|
|
GetNamespacesToRemove ( ) : IEnumerable |
Remove the default Linq to SQL namespaces.
|
|
GetSchema ( IConnectionInfo cxInfo, |
Returns the schema for the EntityManager, showing EntityQueries and sprocs.
|
|
InitializeContext ( IConnectionInfo cxInfo, object context, LINQPad.Extensibility.DataContext.QueryExecutionManager executionManager ) : void |
This is called after the EM is constructed.
|
|
OnQueryFinishing ( IConnectionInfo cxInfo, object context, LINQPad.Extensibility.DataContext.QueryExecutionManager executionManager ) : void |
Populate SQL tab if sql logging is wanted.
|
|
ShowConnectionDialog ( IConnectionInfo cxInfo, bool isNewConnection ) : bool |
This opens the standard connection dialog (heavily based on the Universal demo driver).
|
Method | Description | |
---|---|---|
EnableSqlLogging ( IConnectionInfo cxinfo ) : bool | ||
InitializeLogger ( IConnectionInfo cxinfo ) : void |
public AreRepositoriesEquivalent ( IConnectionInfo c1, IConnectionInfo c2 ) : bool | ||
c1 | IConnectionInfo | |
c2 | IConnectionInfo | |
return | bool |
public GetConnectionDescription ( IConnectionInfo cxInfo ) : string | ||
cxInfo | IConnectionInfo | |
return | string |
public GetContextConstructorArguments ( IConnectionInfo cxInfo ) : object[] | ||
cxInfo | IConnectionInfo | |
return | object[] |
public GetContextConstructorParameters ( IConnectionInfo cxInfo ) : ParameterDescriptor[] | ||
cxInfo | IConnectionInfo | |
return | ParameterDescriptor[] |
public GetCustomDisplayMemberProvider ( object objectToWrite ) : LINQPad.ICustomMemberProvider | ||
objectToWrite | object | |
return | LINQPad.ICustomMemberProvider |
public GetNamespacesToRemove ( ) : IEnumerable |
||
return | IEnumerable |
public GetSchema ( IConnectionInfo cxInfo, |
||
cxInfo | IConnectionInfo | |
customType | ||
return | List |
public InitializeContext ( IConnectionInfo cxInfo, object context, LINQPad.Extensibility.DataContext.QueryExecutionManager executionManager ) : void | ||
cxInfo | IConnectionInfo | |
context | object | |
executionManager | LINQPad.Extensibility.DataContext.QueryExecutionManager | |
return | void |
public OnQueryFinishing ( IConnectionInfo cxInfo, object context, LINQPad.Extensibility.DataContext.QueryExecutionManager executionManager ) : void | ||
cxInfo | IConnectionInfo | |
context | object | |
executionManager | LINQPad.Extensibility.DataContext.QueryExecutionManager | |
return | void |
public ShowConnectionDialog ( IConnectionInfo cxInfo, bool isNewConnection ) : bool | ||
cxInfo | IConnectionInfo | |
isNewConnection | bool | |
return | bool |