- Extension ID
- What's new?
- Description
- In what situation should you install this extension?
- Technology support
- AIP Core compatibility
- Supported DBMS servers
- Download and installation instructions
- What results can you expect?
- Limitations
Extension ID
com.castsoftware.msenterpriselibrary
What's new?
See Microsoft Enterprise Library - 1.0 - Release Notes for more information.
Description
This extension provides support for Microsoft Enterprise Library APIs (see Methods Supported) which are responsible for typical CRUD operations with the database.
In what situation should you install this extension?
If your C# application performs SQL queries with the Microsoft Enterprise Library framework, and you want to modelize the Client/Server links with appropriate objects and links, then you should use this extension.
Technology support
Item | Version | Supported | Supported Technology | Notes |
---|---|---|---|---|
MS Enterprise Library | 2.0 to 6.0.1304 | C# | See https://www.nuget.org/packages/EnterpriseLibrary.Data | |
MS Enterprise Library SqlCe | 5.0 to 6.0.1304 | C# | See https://www.nuget.org/packages/EnterpriseLibrary.Data.SqlCe |
AIP Core compatibility
AIP Core release | Supported |
---|---|
8.3.x |
Supported DBMS servers
DBMS | Supported |
---|---|
CSS/PostgreSQL |
Download and installation instructions
For applications using Microsoft Enterprise Library APIs, the extension will be automatically installed by CAST Console. This is in place since October 2023.
For upgrade, if the Extension Strategy is not set to Auto update, you can manually install the extension using the Application - Extensions interface.
What results can you expect?
Once the analysis/snapshot generation has completed, you can view the results in the normal manner. The following objects and links will be displayed in CAST Imaging:
Objects
The following objects are created by this extension and displayed in CAST Enlighten:
Icon | Type Description | When is this objectcreated ? |
---|---|---|
DotNet Enterprise Library SQL Query | an object is created for each SQL query found and resolved in a MS EntLib CRUD method call |
Links created by this extension and other related extensions
Link Type | Caller type | Callee type | Methods Supported |
---|---|---|---|
callLink | C# Method | DotNet Enterprise Library SQL Query | |
useLink | DotNet Enterprise Library SQL Query | Table, View | Created by SQL Analyzer when DDL source files are analyzed |
callLink | DotNet Enterprise Library SQL Query | Procedure | |
useLink | DotNet Enterprise Library SQL Query | Missing Table | Created by Missing tables and procedures for .Net extension when the object is not analyzed. |
callLink | DotNet Enterprise Library SQL Query | Missing Procedure |
Example code scenarios
ExecuteNonQuery
ExecuteReader
ExecuteScalar
ExecuteDataSet
UpdateDataSet
ExecuteXmlReader
BeginExecuteReader
BeginExecuteScalar
BeginExecuteNonQuery
BeginExecuteXmlReader
DoExecuteNonQuery
LoadDataSet
ExecuteScalarSql
ExecuteNonQuerySql
Limitations
- Objects will not be created if evaluation fails to resolve the necessary parameter.
- The set of supported methods is limited to what is documented.
- The support works when the Microsoft Enterprise Library is used directly, that is, not through a custom wrapper delivered as an assembly.