Skip to content

Releases: zzzprojects/EntityFramework-Extensions

v3.11.13

30 Mar 01:24

Choose a tag to compare

Download the library here

FIXED: Issue with UseEntityFrameworkPropagation = false && Surrogate Key

v3.11.12

28 Mar 17:33

Choose a tag to compare

Download the library here

FIXED: Issue with UseEntityFrameworkPropagation with a special case with different key type between parent & child

v3.11.11

25 Mar 18:17

Choose a tag to compare

Download the library here

ADDED: Support to class Inheriting from ObjectContext
ADDED: Support to Open && Close from IDbConnectionInterceptor

v3.11.10

22 Mar 21:59

Choose a tag to compare

Download the library here

ADDED: SQL Server only - IgnoreOnMergeInsertExpression
ADDED: SQL Server only - IgnoreOnMergeUpdateExpression

Example:

ctx.BulkMerge(list, operation =>
{
    operation.ColumnInputExpression = customer => new { customer.ID, customer.Name, customer.DateModified };
    operation.IgnoreOnMergeUpdateExpression = customer => new { customer.DateCreated, customer.DateModified };
});

ctx.BulkMerge(list, operation =>
{
    operation.ColumnInputExpression = customer => new { customer.ID, customer.Name, customer.DateModified };
    operation.IgnoreOnMergeInsertExpression = customer => new { customer.DateCreated, customer.DateModified };
});

ctx.BulkMerge(list, operation =>
{
    operation.ColumnInputExpression = customer => new { customer.ID, customer.Name, customer.DateModified };
    operation.IgnoreOnMergeInsertExpression = customer => new { customer.DateCreated, customer.DateModified };
    operation.IgnoreOnMergeUpdateExpression = customer => new { customer.DateCreated, customer.DateModified };
});

ctx.BulkMerge(list, operation =>
{
    operation.IgnoreOnMergeUpdateExpression = customer => new { customer.DateCreated, customer.DateModified };
});

ctx.BulkMerge(list, operation =>
{
    operation.IgnoreOnMergeInsertExpression = customer => new { customer.DateCreated, customer.DateModified };
});

ctx.BulkMerge(list, operation =>
{
    operation.IgnoreOnMergeInsertExpression = customer => new { customer.DateCreated, customer.DateModified };
    operation.IgnoreOnMergeUpdateExpression = customer => new { customer.DateCreated, customer.DateModified };
});

PRO Version unlocked for the current month (March)

v3.11.9

22 Mar 19:12

Choose a tag to compare

Download the library here

FIXED: UpdateFromQuery Issue when EF generate a query with "FILTER[X]" alias

PRO Version unlocked for the current month (March)

v3.11.8

21 Mar 01:37

Choose a tag to compare

Download the library here

ADDED: CustomProvide (Supporting Oracle DataAccessManaged && DevArt)

public class CodeFirstEntities : DbContext
{
	static CodeFirstEntities()
	{
		var customProvider = new CustomProvider(ProviderType.OracleManaged);
		
		customProvider.SetArrayBindCount = (command, i) => ((OracleCommand)((customProvider)command).Inner).ArrayBindCount = i;
		customProvider.SetBindByName = (command, b) => ((OracleCommand)((customProvider)command).Inner).BindByName = b;

		EntityFrameworkManager.CustomProvider = customProvider;
	}
	
	// ...code...
}

public class CodeFirstEntities : DbContext
{
	static CodeFirstEntities()
	{
		var customProvider = new CustomProvider(ProviderType.OracleDevArt);

		customProvider.ExecuteArray = (command, i) => ((Devart.Data.Oracle.OracleCommand)((customProvider)command).Inner).ExecuteArray(i);
		customProvider.SetBindByName = (command, b) => ((Devart.Data.Oracle.OracleCommand)((customProvider)command).Inner).PassParametersByName = b;

		EntityFrameworkManager.CustomProvider = customProvider;
	}
	
	// ...code...
}

PRO Version unlocked for the current month (March)

v3.11.7

17 Mar 14:19

Choose a tag to compare

Download the library here

ADDED: All extension methods to ObjectContext

PRO Version unlocked for the current month (March)

v3.11.6

16 Mar 22:06

Choose a tag to compare

Download the library here

FIXED: UpdateFromQuery && Primary Key issue (#30)

PRO Version unlocked for the current month (March)

v3.11.5

16 Mar 19:08

Choose a tag to compare

Download the library here

FIXED: Oracle - BulkMerge in some provider version returning DBNull.Value

PRO Version unlocked for the current month (March)

v3.11.4

16 Mar 01:51

Choose a tag to compare

Download the library here

ADDED: Support to model splitted in multiples files
FIXED: Oracle - Improved performance for BulkMerge
FIXED: Oracle - BulkMerge & Transaction (#29)
FIXED: Oracle - DateTimeOffSet type
FIXED: UpdateFromQuery && Primary Key issue (#30)

PRO Version unlocked for the current month (March)