C# Класс IdeaBlade.Drivers.DevForceTypes

This class provides access to DevForce types, objects, etc. using reflection and dynamic typing. LINQPad creates an AppDomain per query tab, but will (usually) reuse that AppDomain for other queries executed on that tab. So statics can be useful, at least when the same query tab is reused.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CheckComposition ( IConnectionInfo cxInfo ) : void
GetAssembliesToAdd ( string customPath ) : IEnumerable
InitializeEntityManager ( object entityManager ) : void

Set a DataSourceOnly query strategy. If non-credentialed login is not supported, you should modify this code to also login here. The DataSourceOnly query strategy is more efficient, since cache isn't helpful when LINQPad recreates the EM for each query.

IsComplexType ( Type t ) : bool

Calls EntityMetadata.IsComplexType method.

Приватные методы

Метод Описание
GetInstallFolderFromRegistry ( ) : string
LoadAssembly ( string name, bool throwIfNotFound = false ) : Assembly

Описание методов

CheckComposition() публичный статический Метод

public static CheckComposition ( IConnectionInfo cxInfo ) : void
cxInfo IConnectionInfo
Результат void

GetAssembliesToAdd() публичный статический Метод

public static GetAssembliesToAdd ( string customPath ) : IEnumerable
customPath string
Результат IEnumerable

InitializeEntityManager() публичный статический Метод

Set a DataSourceOnly query strategy. If non-credentialed login is not supported, you should modify this code to also login here. The DataSourceOnly query strategy is more efficient, since cache isn't helpful when LINQPad recreates the EM for each query.
public static InitializeEntityManager ( object entityManager ) : void
entityManager object
Результат void

IsComplexType() публичный статический Метод

Calls EntityMetadata.IsComplexType method.
public static IsComplexType ( Type t ) : bool
t System.Type
Результат bool