C# Class Madd0.AzureStorageDriver.AzureDriver

LINQPad dynamic driver that lets users connect to an Azure Table Storage account.
Inheritance: LINQPad.Extensibility.DataContext.DynamicDataContextDriver
显示文件 Open project: madd0/AzureStorageDriver

Public Methods

Method Description
AreRepositoriesEquivalent ( IConnectionInfo connection1, IConnectionInfo connection2 ) : bool

Determines whether two repositories are equivalent.

GetAssembliesToAdd ( ) : IEnumerable

Gets the assemblies to add.

GetConnectionDescription ( IConnectionInfo connectionInfo ) : string

Gets the text to display in the root Schema Explorer node for a given connection info.

GetContextConstructorArguments ( IConnectionInfo connectionInfo ) : object[]

Gets the context constructor arguments.

GetContextConstructorParameters ( IConnectionInfo connectionInfo ) : ParameterDescriptor[]

Gets the context constructor parameters.

GetNamespacesToAdd ( ) : IEnumerable

Gets the namespaces to add.

GetSchemaAndBuildAssembly ( IConnectionInfo connectionInfo, AssemblyName assemblyToBuild, string &@namespace, string &typeName ) : List

Gets the schema and builds the assembly that contains the typed data context.

ShowConnectionDialog ( IConnectionInfo connectionInfo, bool isNewConnection ) : bool

Shows the connection dialog.

Method Details

AreRepositoriesEquivalent() public method

Determines whether two repositories are equivalent.
public AreRepositoriesEquivalent ( IConnectionInfo connection1, IConnectionInfo connection2 ) : bool
connection1 IConnectionInfo The connection information of the first repository.
connection2 IConnectionInfo The connection information of the second repository.
return bool

GetAssembliesToAdd() public method

Gets the assemblies to add.
public GetAssembliesToAdd ( ) : IEnumerable
return IEnumerable

GetConnectionDescription() public method

Gets the text to display in the root Schema Explorer node for a given connection info.
public GetConnectionDescription ( IConnectionInfo connectionInfo ) : string
connectionInfo IConnectionInfo
return string

GetContextConstructorArguments() public method

Gets the context constructor arguments.
public GetContextConstructorArguments ( IConnectionInfo connectionInfo ) : object[]
connectionInfo IConnectionInfo The connection info.
return object[]

GetContextConstructorParameters() public method

Gets the context constructor parameters.
public GetContextConstructorParameters ( IConnectionInfo connectionInfo ) : ParameterDescriptor[]
connectionInfo IConnectionInfo The connection info.
return ParameterDescriptor[]

GetNamespacesToAdd() public method

Gets the namespaces to add.
public GetNamespacesToAdd ( ) : IEnumerable
return IEnumerable

GetSchemaAndBuildAssembly() public method

Gets the schema and builds the assembly that contains the typed data context.
public GetSchemaAndBuildAssembly ( IConnectionInfo connectionInfo, AssemblyName assemblyToBuild, string &@namespace, string &typeName ) : List
connectionInfo IConnectionInfo The connection information.
assemblyToBuild System.Reflection.AssemblyName The assembly to build.
@namespace string
typeName string Name of the type of the typed data context.
return List

ShowConnectionDialog() public method

Shows the connection dialog.
public ShowConnectionDialog ( IConnectionInfo connectionInfo, bool isNewConnection ) : bool
connectionInfo IConnectionInfo The connection info.
isNewConnection bool if set to true [is new connection].
return bool