Releases: zzzprojects/EntityFramework-Extensions
Releases · zzzprojects/EntityFramework-Extensions
v3.11.11
v3.11.10
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
v3.11.8
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
v3.11.6
v3.11.5
v3.11.4
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)