This project has moved. For the latest updates, please go here.

2014 Q1 - Release V.1.1.1.0

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 1074
Change Set: 40085
Released: Mar 22, 2014
Updated: Mar 22, 2014 by Jonathan_Magnan
Dev status: Stable Help Icon

Recommended Download

Application ExtensionMethods.zip
application, 2648K, uploaded Mar 22, 2014 - 392 downloads

Other Available Downloads

Application ExtensionMethods.WithObjectNamespace.zip
application, 2648K, uploaded Mar 22, 2014 - 93 downloads
Application ExtensionMethods.WithNamespace.zip
application, 2648K, uploaded Mar 22, 2014 - 89 downloads
Source Code Source Code - 40085
source code, 6215K, uploaded Mar 22, 2014 - 157 downloads
Documentation Documentation.chm
documentation, 2495K, uploaded Mar 22, 2014 - 194 downloads
Documentation Z.ExtensionMethods - Cheat Sheet.xlsx
documentation, 23K, uploaded Mar 22, 2014 - 149 downloads

Release Notes

Free and open source library with over 1000 helpers and utility methods coded in C# and VB.NET. Five different architectures available.

Official Website
FAQ - Choose your Extension Methods Framework

Release V.1.1.1.0

  • Added: SqlBulkCopy Article (http://jonathanmagnan.com/extension-methods-sqlbulkcopy/)
  • Added: SqlBulkCopy Example (https://zexamples.codeplex.com/releases/)
  • Added: SqlBulkCopy.BulkMerge
  • Added: SqlBulkCopy.BulkUpsert (same as BulkMerge)
  • Added: Entities overload to BulkInsert, BulkDelete, BulkUpdate, BulkMerge, BulkUpsert
  • Added: T[].ToDataTable
  • Added: DataTable.ToEntities
  • Added: DataTable.ToExpandoObjects
  • Added: DataRow.ToEntity
  • Added: DataRow.ToExpandoObject
  • Improved: SqlBulkCopy.BulkUpdate (Primary key parameter are now optional but recommended)
  • Improved: SqlBulkCopy.BulkDelete (Primary key parameter are now optional but recommended)

Release V.1.1.0.0

Entity Framework Extension Methods (EF 6.0+)
  • Added: Database.ExecuteEntities
  • Added: Database.ExecuteEntity
  • Added: Database.ExecuteExpandoObject
  • Added: Database.ExecuteExpandoObjects
  • Added: Database.ExecuteNonQuery
  • Added: Database.ExecuteReader
  • Added: Database.ExecuteScalar
  • Added: Database.SqlExecuteDataSet
  • Added: Database.SqlExecuteDataTable
  • Added: Database.SqlExecuteEntities
  • Added: Database.SqlExecuteEntity
  • Added: Database.SqlExecuteExpandoObject
  • Added: Database.SqlExecuteExpandoObjects
  • Added: Database.SqlExecuteNonQuery
  • Added: Database.SqlExecuteReader
  • Added: Database.SqlExecuteScalar
  • Added: Database.SqlExecuteXmlReader
  • Added: Database.GetDbTransaction (Work only in EF6+)
  • Added: Database.GetEntityConnection (Work only in EF6+)
  • Added: Database.GetEntityTransaction (Work only in EF6+)
  • Added: Database.GetSqlConnection
  • Added: Database.GetSqlTransaction (Work only in EF6+)
  • Added: DbContext.GetObjectContext
  • Added: DbContext.GetTableName // Still in prototype, should the schema be included or not?
  • Added: IDbSet.AddOrUpdateExtension (Same as System.Data.Entity.Migration but doesn't require namespace!)
  • Added: ObjectContext.GetTableName // Still in prototype, should the schema be included or not?
Extension Methods
  • REMOVED: DbConnection.ExecuteScalarAs() (Use ExecuteScalar().As() instead)
  • REMOVED: DbConnection.ExecuteScalarAsOrDefault() (Use ExecuteScalar().AsOrDefault() instead)
  • REMOVED: DbConnection.ExecuteScalarTo() (Use ExecuteScalar().To() instead)
  • REMOVED: DbConnection.ExecuteScalarToOrDefault() (Use ExecuteScalar().ToOrDefault() instead)
  • Improved: SqlBulkCopy.BulkInsert (Added 3 overloads)
  • Improved: SqlBulkCopy.BulkUpdate (Added 3 overloads)
  • Improved: SqlBulkCopy.BulkDelete (Added 3 overloads)
  • Improved: SqlBulkCopy.BulkUpdate (Now work with Identity column table / ColumnMapping)
  • Improved: SqlBulkCopy.BulkDelete (Now work with Identity column table / ColumnMapping)
  • Improved: DbConnection.ExecuteEntities (Added 8 overloads)
  • Improved: DbConnection.ExecuteEntity (Added 8 overloads)
  • Improved: DbConnection.ExecuteExpandoObject (Added 8 overloads)
  • Improved: DbConnection.ExecuteExpandoObjects (Added 8 overloads)
  • Improved: DbConnection.ExecuteNonQuery (Added 8 overloads)
  • Improved: DbConnection.ExecuteReader (Added 8 overloads)
  • Improved: DbConnection.ExecuteScalar (Added 8 overloads)
  • Improved: SqlConnection.ExecuteDataSet (Added 8 overloads)
  • Improved: SqlConnection.ExecuteDataTable (Added 8 overloads)
  • Added: Object.AsOrDefault
  • Added: Object.ToOrDefault
  • Added: SqlConnection.ExecuteEntities
  • Added: SqlConnection.ExecuteEntity
  • Added: SqlConnection.ExecuteExpandoObject
  • Added: SqlConnection.ExecuteExpandoObjects
  • Added: SqlConnection.ExecuteNonQuery
  • Added: SqlConnection.ExecuteReader
  • Added: SqlConnection.ExecuteScalar
  • Added: SqlConnection.ExecuteXmlReader
  • Added: IDictionary<string, object>.ToDbParameters
  • Added: IDictionary<string, object>.ToSqlParameters
  • Added: String.PathCombine // Combine multiple path string
  • Added: DataColumnCollection.AddRange

Recently released (v1.0.2.0)

  • Breaking Change: Z.ExtensionMethods.NoDefaultNamespace renamed to Z.ExtensionMethods
  • Breaking Change: Z.ExtensionMethods renamed to Z.ExtensionMethods.WithNamespace
  • Fix: FileInfo.CreateDirectory
  • Fix: FileInfo.EnsureDirectoryExists
  • Added: DirectoryInfo.PathCombine (Combine path and return string)
  • Added: DirectoryInfo.PathCombineFile (Combine path and return FileInfo)
  • Added: DirectoryInfo.PathCombineDirectory (Combine path and return DirectoryInfo)
  • Added: String.ReplaceWhenEquals (Replace if the string is equal)
  • Added: String.ReplaceFirst (Replace first or X first occurrence)
  • Added: String.ReplaceLast (Replace last or X last occurrence)
  • Added: SqlBulkCopy.BulkInsert (Exactly like WriteToServer method)
  • Added: SqlBulkCopy.BulkUpdate (Bulk update data using specific column as primary key)
  • Added: SqlBulkCopy.BulkDelete (Bulk delete data using specific column as primary key)
  • Added: IsValid[ValueType] (Check if the object can be converted in the specific value type)
    • Support: Boolean, Byte, Char, DateTime, DateTimeOffSet, Decimal, Double, Float, Guid, Int16, Int32, Int64, Long, Sbyte, Short, Single, UInt16, UInt32, UInt64, ULong, UShort

Reviews for this release

     
Another great release, thank Jonathan.
by daeku on Mar 24, 2014 at 4:05 PM