EntLib Contrib September 2007

Topics: Development Team Discussion, User Discussion
Editor
Oct 2, 2007 at 4:36 AM
The September 2007 release of EntLib Contrib is now available! It contains the following functionality. For more detailed documentation, follow the link to the release home page.
  • Data Access Application Block extensions
    • MySql, SqLite and SqlEx providers
  • Exception Handling Application Block extensions
    • SqlException Wrap Handler
  • Logging Application Block extensions
    • LogParser
  • Policy Injection Application Block extensions
    • PostSharp4EntLib
    • New matching rules: And, Or and Not
    • New call handlers: CursorCallHandler, OneWayCallHandler, SynchronizedCallHandler, ThreadSafeCallHandler, TransactionScopeCallHandler
  • Validation Application Block extensions
    • New validators: CollectionCountValidator, TypeValidator<T>, ObjectValidator<T>, EnumDefinedValidator
    • Designtime enhancements: Lightweight type picker, Test command
    • Other extensions: Default validators, Argument Validation, ExternallyConfigurableObjectValidator

Thanks to everyone in the community who contributed to this release. If you would like to contribute to the next release, please let us know!

thanks
The EntLibContrib team.
Oct 13, 2007 at 4:59 PM
Could someone point me to how to work the EntLibContrib.Data.MySql.dll with Microsoft's DAAB v3.1.0.0?
I have the following DLLs in my bin:
EntLibContrib.Data.MySql.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.ObjectBuilder.dll

But I'm not sure what my web.config
<section name="dataConfiguration" ... />
and
<dataConfiguration ... /> sections should be set to.

Thanks.
Oct 19, 2007 at 8:09 PM
iam ->

a sample of using this can be found in the unittests -> http://www.codeplex.com/entlibcontrib/SourceControl/FileView.aspx?itemId=34785&changeSetId=12659

so, in essence:
<dataConfiguration>
<providerMappings>
<add databaseType="EnterpriseLibraryContrib.Data.MySql.MySqlDatabase, EnterpriseLibraryContrib.Data.Mysql, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null"
name="MySql.Data.MySqlClient" />
</providerMappings>
</dataConfiguration>