Skip to content

Releases: zzzprojects/EntityFramework-Extensions

v3.11.11

25 Mar 18:17
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

v3.11.3

13 Mar 14:48
Compare
Choose a tag to compare

Download the library here

FIXED: DeleteFromQuery issue with nullable type with null value in parameter
FIXED: UpdateFromQuery issue with nullable type with null value in parameter

PRO Version unlocked for the current month (March)

v3.11.1

12 Mar 19:01
Compare
Choose a tag to compare

Download the library here

FIXED: Oracle - Issue with "dbo" schema name
FIXED: Oracle - Reduced Array Size for all operations
FIXED: Oracle - Modified default value for ForceUpdateUnmodifiedValues to false

PRO Version unlocked for the current month (March)