Skip to content

Releases: zzzprojects/EntityFramework-Extensions

v3.11.23

20 May 21:44

Choose a tag to compare

Download the library here

FIXED: SQLite issue with "dbo" schema name when BulkSaveChanges is used. The schema name is not longer used.

PRO Version unlocked for the current month (May)

v3.11.22

15 May 13:49

Choose a tag to compare

Download the library here

FIXED: (InsertKeepIdentity, MergeKeepIdentity, SynchronizeKeepIdentity) options with a table with no Identity Column doesn't longer throw an error on SQL Server

PRO Version unlocked for the current month (May)

v3.11.21

07 May 00:12

Choose a tag to compare

Download the library here

ADDED: Support to Database First with "Metadata Artifact Processing" = "Copy to Output Directory" value

PRO Version unlocked for the current month (May)

v3.11.20

30 Apr 18:50

Choose a tag to compare

Download the library here

ADDED: DeleteFromQuery support to TPH Inheritance
ADDED: UpdateFromQuery support to TPH Inheritance

PRO Version unlocked for the current month (May)

v3.11.19

28 Apr 16:02

Choose a tag to compare

Download the library here

PRO Version unlocked for the current month (May)

v3.11.18

20 Apr 15:21

Choose a tag to compare

Download the library here

ADDED: Code for the future EF Core support
FIXED: DeleteFromQuery when InternalTransaction is specified
FIXED: UpdateFromQuery when InternalTransaction is specified

ctx.EntityInts.Where(x => x.ColumnInt < value).DeleteFromQuery(x =>
{
    x.InternalTransaction = InternalTransactionType.ByOperation;
});

PRO Version unlocked for the current month (April)

v3.11.17

19 Apr 13:36

Choose a tag to compare

Download the library here

ADDED: PostConfiguration event
ADDED: EntityType property

PostConfiguration

Raised when all configurations have been set (Column Mapping, Destination, BatchSize).

EntityType

Gets the entity type used in the bulk operations.

Example

In this example, we will force to insert a value into a column that's normally computed (value generated from the database) by adding the column to the mapping list.

dbContext.BulkInsert(list, operation => operation.PostConfiguration = bulkOperation =>
{
    if (bulkOperation.EntityType == typeof(BankAccount))
    {
        bulkOperation.ColumnMappings.Add("CreatedDate");
    }
});

PRO Version unlocked for the current month (April)

v3.11.16

06 Apr 03:03

Choose a tag to compare

Download the library here

FIXED: Composite key with a different type.

For some relation, using a key with different type was causing an error due to mapping the type always to the first key found (Key1 = int)

public partial class CompositeKeyEntity
{
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Key1 { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(10)]
        public string Key2 { get; set; }
}

PRO Version unlocked for the current month (April)

v3.11.15

04 Apr 02:40

Choose a tag to compare

Download the library here

FIXED: Issue with Database First && One to One Relationship

PRO Version unlocked for the current month (April)

v3.11.14

30 Mar 17:42

Choose a tag to compare

Download the library here

PRO Version unlocked for the current month (April)