This project has moved and is read-only. For the latest updates, please go here.

2014 Q1 - Release V.1.1.0.0

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 1209
Change Set: 39998
Released: Mar 17, 2014
Updated: Mar 17, 2014 by Jonathan_Magnan
Dev status: Stable Help Icon

Recommended Download

Application ExtensionMethods.zip
application, 255K, uploaded Mar 17, 2014 - 356 downloads

Other Available Downloads

Application ExtensionMethods.WithObjectNamespace.zip
application, 256K, uploaded Mar 17, 2014 - 113 downloads
Application ExtensionMethods.WithNamespace.zip
application, 255K, uploaded Mar 17, 2014 - 108 downloads
Source Code Source Code - 39998
source code, 4480K, uploaded Mar 17, 2014 - 196 downloads
Documentation Documentation.chm
documentation, 2325K, uploaded Mar 17, 2014 - 247 downloads
Documentation Z.ExtensionMethods - Cheat Sheet.xlsx
documentation, 23K, uploaded Mar 17, 2014 - 189 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.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

     
Thank you ;) So far very good
by Luthor on Mar 18, 2014 at 5:25 PM