Wiki
Clone wikiWxen.NET DbHug / Release notes
ver 0.10.0B
- + Ability to use internal properties in Templating
- + Ability to add custom mappings to DbTypeMappings
- + Ability to set CommandTimeout for newly created DbCommands
- + Generic ExecuteScalar<T>
- + Single() method to select single value
- + CRUD Count() method
ver 0.9.1
- * Automatically execute command as a stored procedure if command text has no white spaces
- * DbDynamic for dynamic querying
ver 0.9.0B
- * Fixed minor and cross-database bugs
- * Changed some of CRUD methods
- + Ability to Prepare procedure call
- - Removed type template ("{#Type}")
ver 0.8.2B
- + Ability to use Expression for Where clauses in CRUD methods
- + Ability to select behavior for selected NULL fields
- + Ability to use partial models
ver 0.8.1B
- + Ability to use '*' in the Query() method
- + Ability to use dynamic as an argument object
ver 0.8.0B
- * Changed templating pattern
- * Fixed some minor bugs
- - Removed SelectMany() methods
- + Added Query() and QueryMany() mehtods
- + Ability to pass built-in types as template argument
- * CRUD operations moved to separate namespace
- + Added Type templating
ver 0.7.3B
- * Required column
ver 0.7.2A
- * Changed mapping mechanism
- + Mapping of entity constructor
- + Mapping of initialize method
- * Changed caching mechanism
- * Improved SUID (CRUD)
ver 0.7.1A
- * Some fixes
- * ExecManyQueries renamed to ExecuteNonQueries
- + ExecuteScalars
- * ExecSelectQuery renamed to FillDataSet
- * Exec... metods renamed to Execute...
- * SelectMany mechanism improved
- + Prepare/Compose command functionality for further execution
- + Compose command functionality
- * ParameterNameFormat renamed to ParameterNamePlaceholder
- * Insert for MS SQL returns inserted id
- + Ability to setup command before execution (OnSetupDbCommand event)
ver 0.7.0A
- - Complex types mapping
- * DbHug constructor takes DbConnection/DbProviderFactory
- + Ability to merge select results by SelectMany(...) functionality
- + SelectMany(...) which selects multiple results from database
- + SelectById(...) which allows to select single item by its id
- + Executing command with many templates
- + Ability to generate column names in command template ("{#Type}")
- + Ability to use parameters in templates (by setting property of a template object as a DbParameter type)
- * Many queries execution mechanism improved
- + Ability to use connection from configuration file
ver 0.6A
- + ConnectionHug allows instanciate connections by DbFactory (CreateConnection())
- + Ability to change generated parameter name pattern in Mappings (ParameterNameFormat)
- + Ability to set mappings inside class inherited from Mappings class
- * BuildModel methods renamed to Set(...)
- + Complex types mapping
ver 0.5A
- Select command can return dynamic object (Select(...))
- Mappings can be cached
- DbCommand can use own connection (if DbConnction is set to DbCommand)
- Scalar type selection moved to Select<T>(...)
ver 0.4A
- For Async execution DbConnections creating by DbProviderFactory (passed into ConnectionHug constructor)
- Scalar type (int, double, string, DateTime, etc.) selection (SelectBase<>(...))
ver 0.3A
- Mapping to public fields
- Templating Sql commands
- SUID commands
- Statefull mapping
ver 0.2a.
- Basic SUID (CRUD) commands
- Async (
C#5.0
) methods supported- Mappings in code (Mapping API)
- Execute commands
- Removed execute procedures functionality
Earlier versions:
- Attribure Mappings
- Build model from DataTable
- Execute Procedures
Updated